pub enum NotificationPriority {
Idle,
Voicemail,
Monitor,
Privacy,
DoNotDisturb,
CallForward,
Timed,
Unknown(u32),
}Expand description
Ordered status-line notification slots. Larger values take precedence.
Variants§
Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotificationPriority
Source§impl Debug for NotificationPriority
impl Debug for NotificationPriority
impl Eq for NotificationPriority
Source§impl From<NotificationPriority> for u32
impl From<NotificationPriority> for u32
Source§fn from(value: NotificationPriority) -> Self
fn from(value: NotificationPriority) -> Self
Converts to this type from the input type.
Source§impl From<u32> for NotificationPriority
impl From<u32> for NotificationPriority
Source§impl Hash for NotificationPriority
impl Hash for NotificationPriority
Source§impl PartialEq for NotificationPriority
impl PartialEq for NotificationPriority
impl StructuralPartialEq for NotificationPriority
Auto Trait Implementations§
impl Freeze for NotificationPriority
impl RefUnwindSafe for NotificationPriority
impl Send for NotificationPriority
impl Sync for NotificationPriority
impl Unpin for NotificationPriority
impl UnsafeUnpin 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