Struct apns2::AlertPayload
[−]
[src]
pub struct AlertPayload { pub title: Option<String>, pub body: Option<String>, pub title_loc_key: Option<String>, pub title_loc_args: Option<Vec<String>>, pub action_loc_key: Option<String>, pub loc_key: Option<String>, pub loc_args: Option<Vec<String>>, pub loc_image: Option<String>, }
Alert content for a notification.
See the official documentation for details: https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html
Fields
title: Option<String>
body: Option<String>
title_loc_key: Option<String>
title_loc_args: Option<Vec<String>>
action_loc_key: Option<String>
loc_key: Option<String>
loc_args: Option<Vec<String>>
loc_image: Option<String>
Trait Implementations
impl Default for AlertPayload
[src]
fn default() -> AlertPayload
[src]
Returns the "default value" for a type. Read more
impl Clone for AlertPayload
[src]
fn clone(&self) -> AlertPayload
[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