[][src]Trait a2::request::notification::NotificationBuilder

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>

Generates the request payload to be send with the Client.

Loading content...

Implementors

impl<'a> NotificationBuilder<'a> for LocalizedNotificationBuilder<'a>[src]

impl<'a> NotificationBuilder<'a> for PlainNotificationBuilder<'a>[src]

impl<'a> NotificationBuilder<'a> for SilentNotificationBuilder[src]

Loading content...