pub enum NotificationPriority {
PriorityUnspecified,
PriorityMin,
PriorityLow,
PriorityDefault,
PriorityHigh,
PriorityMax,
}Expand description
Priority levels for a notification.
Variants§
PriorityUnspecified
Priority not specified.
PriorityMin
Min priority.
PriorityLow
Low priority.
PriorityDefault
Default priority.
PriorityHigh
High priority.
PriorityMax
Max priority.
Trait Implementations§
Source§impl Clone for NotificationPriority
impl Clone for NotificationPriority
Source§fn clone(&self) -> NotificationPriority
fn clone(&self) -> NotificationPriority
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 NotificationPriority
impl Debug for NotificationPriority
Source§impl<'de> Deserialize<'de> for NotificationPriority
impl<'de> Deserialize<'de> for NotificationPriority
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
Auto Trait Implementations§
impl Freeze for NotificationPriority
impl RefUnwindSafe for NotificationPriority
impl Send for NotificationPriority
impl Sync for NotificationPriority
impl Unpin for NotificationPriority
impl UnwindSafe for NotificationPriority
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