pub enum Priority {
NoNotification,
QuietNotification,
HighPriority,
RequireConfirmation,
}
Expand description
The notification with which the notification will be sent.
Variants§
NoNotification
generate no notification/alert.
QuietNotification
always send as a quiet notification.
HighPriority
display as high-priority and bypass the user’s quiet hours.
RequireConfirmation
to also require confirmation from the user.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
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