#[repr(u8)]pub enum ActionState {
Inactive = 0,
Active = 1,
Paused = 2,
Disabled = 3,
}Variants§
Inactive = 0
The action is not active
Active = 1
The action is active
Paused = 2
The action has been paused
Disabled = 3
The action has been disabled
Implementations§
Trait Implementations§
Source§impl Clone for ActionState
impl Clone for ActionState
Source§fn clone(&self) -> ActionState
fn clone(&self) -> ActionState
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 ActionState
impl Debug for ActionState
Source§impl<'de> Deserialize<'de> for ActionState
impl<'de> Deserialize<'de> for ActionState
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<ActionState> for u8
impl From<ActionState> for u8
Source§fn from(val: ActionState) -> Self
fn from(val: ActionState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActionState
impl PartialEq for ActionState
Source§impl Serialize for ActionState
impl Serialize for ActionState
impl Copy for ActionState
impl Eq for ActionState
impl StructuralPartialEq for ActionState
Auto Trait Implementations§
impl Freeze for ActionState
impl RefUnwindSafe for ActionState
impl Send for ActionState
impl Sync for ActionState
impl Unpin for ActionState
impl UnwindSafe for ActionState
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