#[repr(u8)]pub enum StatusDisplayType {
Name = 0,
State = 1,
Details = 2,
}Expand description
Enum indicating which mode to use for indicating the status of an activity.
Variants§
Trait Implementations§
Source§impl Clone for StatusDisplayType
impl Clone for StatusDisplayType
Source§fn clone(&self) -> StatusDisplayType
fn clone(&self) -> StatusDisplayType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StatusDisplayType
impl Debug for StatusDisplayType
Source§impl<'de> Deserialize<'de> for StatusDisplayType
impl<'de> Deserialize<'de> for StatusDisplayType
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StatusDisplayType> for u8
impl From<StatusDisplayType> for u8
Source§fn from(value: StatusDisplayType) -> Self
fn from(value: StatusDisplayType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StatusDisplayType
impl PartialEq for StatusDisplayType
Source§fn eq(&self, other: &StatusDisplayType) -> bool
fn eq(&self, other: &StatusDisplayType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatusDisplayType
impl Serialize for StatusDisplayType
impl Copy for StatusDisplayType
impl Eq for StatusDisplayType
impl StructuralPartialEq for StatusDisplayType
Auto Trait Implementations§
impl Freeze for StatusDisplayType
impl RefUnwindSafe for StatusDisplayType
impl Send for StatusDisplayType
impl Sync for StatusDisplayType
impl Unpin for StatusDisplayType
impl UnsafeUnpin for StatusDisplayType
impl UnwindSafe for StatusDisplayType
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