Struct apns2::Payload
[−]
[src]
pub struct Payload { pub alert: Option<Alert>, pub badge: Option<u32>, pub sound: Option<String>, pub content_available: Option<bool>, pub category: Option<String>, pub thread_id: Option<String>, }
Fields
alert: Option<Alert>
badge: Option<u32>
Updates the numeric badge for the app. Set to 0 to remove.
sound: Option<String>
Sound to play. Use 'default' for the default sound.
content_available: Option<bool>
Set to true to mark the app as having content available.
category: Option<String>
thread_id: Option<String>
Trait Implementations
impl Default for Payload
[src]
impl Clone for Payload
[src]
fn clone(&self) -> Payload
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more