pub enum ResponseType {
None,
Reject,
Accept,
DeleteEvent,
Ok,
Cancel,
Close,
Yes,
No,
Apply,
Help,
Other(u16),
// some variants omitted
}
Variants§
Trait Implementations§
Source§impl Clone for ResponseType
impl Clone for ResponseType
Source§fn clone(&self) -> ResponseType
fn clone(&self) -> ResponseType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ResponseType
impl Debug for ResponseType
Source§impl Display for ResponseType
impl Display for ResponseType
Source§impl From<i32> for ResponseType
impl From<i32> for ResponseType
Source§impl<'a> FromValue<'a> for ResponseType
impl<'a> FromValue<'a> for ResponseType
unsafe fn from_value(value: &Value) -> Self
Source§impl<'a> FromValueOptional<'a> for ResponseType
impl<'a> FromValueOptional<'a> for ResponseType
unsafe fn from_value_optional(value: &Value) -> Option<Self>
Source§impl Hash for ResponseType
impl Hash for ResponseType
Source§impl Into<i32> for ResponseType
impl Into<i32> for ResponseType
Source§impl Ord for ResponseType
impl Ord for ResponseType
Source§fn cmp(&self, other: &ResponseType) -> Ordering
fn cmp(&self, other: &ResponseType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResponseType
impl PartialEq for ResponseType
Source§impl PartialOrd for ResponseType
impl PartialOrd for ResponseType
Source§impl StaticType for ResponseType
impl StaticType for ResponseType
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for ResponseType
impl Eq for ResponseType
impl StructuralPartialEq for ResponseType
Auto Trait Implementations§
impl Freeze for ResponseType
impl RefUnwindSafe for ResponseType
impl Send for ResponseType
impl Sync for ResponseType
impl Unpin for ResponseType
impl UnwindSafe for ResponseType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.