#[non_exhaustive]#[repr(u8)]pub enum NtfyPriority {
Minimum = 0,
Low = 1,
Default = 2,
High = 3,
Maximum = 4,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for NtfyPriority
impl Clone for NtfyPriority
Source§fn clone(&self) -> NtfyPriority
fn clone(&self) -> NtfyPriority
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 NtfyPriority
impl Debug for NtfyPriority
Source§impl Default for NtfyPriority
impl Default for NtfyPriority
Source§impl<'de> Deserialize<'de> for NtfyPriority
impl<'de> Deserialize<'de> for NtfyPriority
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<NtfyPriority> for u8
impl From<NtfyPriority> for u8
Source§fn from(priority: NtfyPriority) -> Self
fn from(priority: NtfyPriority) -> Self
Converts to this type from the input type.
Source§impl From<u8> for NtfyPriority
impl From<u8> for NtfyPriority
Source§impl PartialEq for NtfyPriority
impl PartialEq for NtfyPriority
Source§impl Serialize for NtfyPriority
impl Serialize for NtfyPriority
impl Copy for NtfyPriority
impl StructuralPartialEq for NtfyPriority
Auto Trait Implementations§
impl Freeze for NtfyPriority
impl RefUnwindSafe for NtfyPriority
impl Send for NtfyPriority
impl Sync for NtfyPriority
impl Unpin for NtfyPriority
impl UnwindSafe for NtfyPriority
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