Trait a2::request::notification::NotificationBuilder

source ·
pub trait NotificationBuilder<'a> {
    // Required method
    fn build(
        self,
        device_token: &'a str,
        options: NotificationOptions<'a>
    ) -> Payload<'a>;
}

Required Methods§

source

fn build( self, device_token: &'a str, options: NotificationOptions<'a> ) -> Payload<'a>

Generates the request payload to be send with the Client.

Implementors§