pub enum GuardReason {
Dnd,
Camera,
Idle,
AppPause,
Typing,
Video,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GuardReason
impl Clone for GuardReason
Source§fn clone(&self) -> GuardReason
fn clone(&self) -> GuardReason
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 GuardReason
impl Debug for GuardReason
Source§impl<'de> Deserialize<'de> for GuardReason
impl<'de> Deserialize<'de> for GuardReason
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 GuardReason
impl Hash for GuardReason
Source§impl PartialEq for GuardReason
impl PartialEq for GuardReason
Source§impl Serialize for GuardReason
impl Serialize for GuardReason
impl Copy for GuardReason
impl Eq for GuardReason
impl StructuralPartialEq for GuardReason
Auto Trait Implementations§
impl Freeze for GuardReason
impl RefUnwindSafe for GuardReason
impl Send for GuardReason
impl Sync for GuardReason
impl Unpin for GuardReason
impl UnsafeUnpin for GuardReason
impl UnwindSafe for GuardReason
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,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.