Enum ntfy_types::NtfyPriority
source · [−]#[repr(u8)]
#[non_exhaustive]
pub enum NtfyPriority {
Minimum,
Low,
Default,
High,
Maximum,
}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.
Minimum
Low
Default
High
Maximum
Trait Implementations
sourceimpl Clone for NtfyPriority
impl Clone for NtfyPriority
sourcefn clone(&self) -> NtfyPriority
fn clone(&self) -> NtfyPriority
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for NtfyPriority
impl Debug for NtfyPriority
sourceimpl Default for NtfyPriority
impl Default for NtfyPriority
sourceimpl<'de> Deserialize<'de> for NtfyPriority
impl<'de> Deserialize<'de> for NtfyPriority
sourcefn 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
sourceimpl From<NtfyPriority> for u8
impl From<NtfyPriority> for u8
sourcefn from(priority: NtfyPriority) -> Self
fn from(priority: NtfyPriority) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for NtfyPriority
impl From<u8> for NtfyPriority
sourceimpl PartialEq<NtfyPriority> for NtfyPriority
impl PartialEq<NtfyPriority> for NtfyPriority
sourcefn eq(&self, other: &NtfyPriority) -> bool
fn eq(&self, other: &NtfyPriority) -> bool
sourceimpl Serialize for NtfyPriority
impl Serialize for NtfyPriority
impl Copy for NtfyPriority
impl StructuralPartialEq for NtfyPriority
Auto Trait Implementations
impl RefUnwindSafe for NtfyPriority
impl Send for NtfyPriority
impl Sync for NtfyPriority
impl Unpin for NtfyPriority
impl UnwindSafe for NtfyPriority
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more