pub enum Enablement {
Disabled,
Enabled,
NotConfigured,
}
Variants§
Trait Implementations§
Source§impl Clone for Enablement
impl Clone for Enablement
Source§fn clone(&self) -> Enablement
fn clone(&self) -> Enablement
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 Enablement
impl Debug for Enablement
Source§impl<'de> Deserialize<'de> for Enablement
impl<'de> Deserialize<'de> for Enablement
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 Hash for Enablement
impl Hash for Enablement
Source§impl Ord for Enablement
impl Ord for Enablement
Source§fn cmp(&self, other: &Enablement) -> Ordering
fn cmp(&self, other: &Enablement) -> 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 Enablement
impl PartialEq for Enablement
Source§impl PartialOrd for Enablement
impl PartialOrd for Enablement
Source§impl Serialize for Enablement
impl Serialize for Enablement
impl Eq for Enablement
impl StructuralPartialEq for Enablement
Auto Trait Implementations§
impl Freeze for Enablement
impl RefUnwindSafe for Enablement
impl Send for Enablement
impl Sync for Enablement
impl Unpin for Enablement
impl UnwindSafe for Enablement
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