Trait a2::request::notification::NotificationBuilder [−][src]
pub trait NotificationBuilder<'a> { fn build(
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>; }
Required Methods
fn build(
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>
Generates the request payload to be send with the Client
.
Implementors
impl<'a> NotificationBuilder<'a> for LocalizedNotificationBuilder<'a>
impl<'a> NotificationBuilder<'a> for PlainNotificationBuilder<'a>
impl<'a> NotificationBuilder<'a> for SilentNotificationBuilder