Trait a2::request::notification::NotificationBuilder
source · pub trait NotificationBuilder<'a> {
fn build(
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>;
}
Required Methods§
sourcefn build(
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>
fn build(
self,
device_token: &'a str,
options: NotificationOptions<'a>
) -> Payload<'a>
Generates the request payload to be send with the Client
.