pub enum NotificationPriority {
Low = 0,
Normal = 1,
High = 2,
Emergency = 3,
}Expand description
Priority levels for cross-cluster notifications.
Variants§
Low = 0
Batched into daily digest
Normal = 1
Delivered on next poll
High = 2
Immediate signal
Emergency = 3
Bypass quiet hours, multi-channel delivery
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
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
impl Eq for NotificationPriority
Source§impl Hash for NotificationPriority
impl Hash for NotificationPriority
Source§impl PartialEq for NotificationPriority
impl PartialEq for NotificationPriority
Source§fn eq(&self, other: &NotificationPriority) -> bool
fn eq(&self, other: &NotificationPriority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NotificationPriority
impl Serialize 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