Enum a2::request::notification::Priority
source · pub enum Priority {
High,
Normal,
}
Expand description
The importance how fast to bring the notification for the user..
Variants§
High
Send the push message immediately. Notifications with this priority must trigger an alert, sound, or badge on the target device. Cannot be used with the silent notification.
Normal
Send the push message at a time that takes into account power considerations for the device. Notifications with this priority might be grouped and delivered in bursts. They are throttled, and in some cases are not delivered.
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