pub enum ActivityToggle {
Activate,
Deactivate,
Unspecified,
}Expand description
re-exports Initialize an activity
§Examples
let foo = ActivityToggle::Activate;
assert_eq!(foo, ActivityToggle::Activate);Variants§
Activate
Activate an operation
Deactivate
Deactivate an operation
Unspecified
Status of an operation is not initialized
Trait Implementations§
Source§impl Clone for ActivityToggle
impl Clone for ActivityToggle
Source§fn clone(&self) -> ActivityToggle
fn clone(&self) -> ActivityToggle
Returns a duplicate 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 ActivityToggle
impl Debug for ActivityToggle
Source§impl<'de> Deserialize<'de> for ActivityToggle
impl<'de> Deserialize<'de> for ActivityToggle
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 PartialEq for ActivityToggle
impl PartialEq for ActivityToggle
Source§impl Serialize for ActivityToggle
impl Serialize for ActivityToggle
impl Eq for ActivityToggle
impl StructuralPartialEq for ActivityToggle
Auto Trait Implementations§
impl Freeze for ActivityToggle
impl RefUnwindSafe for ActivityToggle
impl Send for ActivityToggle
impl Sync for ActivityToggle
impl Unpin for ActivityToggle
impl UnsafeUnpin for ActivityToggle
impl UnwindSafe for ActivityToggle
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