Enum a2::Priority [−][src]
pub enum Priority { High, Normal, }
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
impl Debug for Priority
[src]
impl Debug for Priority
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Priority
[src]
impl Clone for Priority
fn clone(&self) -> Priority
[src]
fn clone(&self) -> Priority
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for Priority
[src]
impl Display for Priority