pub enum DisableMech {
EnabledFalse,
DisabledTrue,
ListMember(&'static [&'static str]),
}Expand description
How a client disables an entry without removing it.
Variants§
EnabledFalse
enabled: false in the entry.
DisabledTrue
disabled: true in the entry.
ListMember(&'static [&'static str])
Membership of the entry name in a list at this path from the root.
Trait Implementations§
Source§impl Clone for DisableMech
impl Clone for DisableMech
impl Copy for DisableMech
Source§impl Debug for DisableMech
impl Debug for DisableMech
impl Eq for DisableMech
Source§impl PartialEq for DisableMech
impl PartialEq for DisableMech
impl StructuralPartialEq for DisableMech
Auto Trait Implementations§
impl Forget for DisableMech
impl Freeze for DisableMech
impl Move for DisableMech
impl RefUnwindSafe for DisableMech
impl Send for DisableMech
impl Sync for DisableMech
impl Unpin for DisableMech
impl UnsafeUnpin for DisableMechwhere
&'static [&'static str]: UnsafeUnpin,
impl UnwindSafe for DisableMechwhere
&'static [&'static str]: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.