#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for DirectMessageConfiguration
Implementations
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the ADM (Amazon Device Messaging) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the APNs (Apple Push Notification service) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default message for all channels.
The default message for all channels.
pub fn default_push_notification_message(
self,
input: DefaultPushNotificationMessage
) -> Self
pub fn default_push_notification_message(
self,
input: DefaultPushNotificationMessage
) -> Self
The default push notification message for all push notification channels.
pub fn set_default_push_notification_message(
self,
input: Option<DefaultPushNotificationMessage>
) -> Self
pub fn set_default_push_notification_message(
self,
input: Option<DefaultPushNotificationMessage>
) -> Self
The default push notification message for all push notification channels.
The default message for the email channel. This message overrides the default message (DefaultMessage).
The default message for the email channel. This message overrides the default message (DefaultMessage).
The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default push notification message for the GCM channel, which is used to send notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service. This message overrides the default push notification message (DefaultPushNotificationMessage).
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
The default message for the SMS channel. This message overrides the default message (DefaultMessage).
The default message for the voice channel. This message overrides the default message (DefaultMessage).
The default message for the voice channel. This message overrides the default message (DefaultMessage).
Consumes the builder and constructs a DirectMessageConfiguration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more