Enum a2::Priority[][src]

pub enum Priority {
    High,
    Normal,
}

The importance how fast to bring the notification for the user..

Variants

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.

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]

Formats the value using the given formatter. Read more

impl Clone for Priority
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Priority
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Priority

impl Sync for Priority