Struct aws_sdk_pinpoint::input::CreatePushTemplateInput
source · [−]#[non_exhaustive]pub struct CreatePushTemplateInput {
pub push_notification_template_request: Option<PushNotificationTemplateRequest>,
pub template_name: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.push_notification_template_request: Option<PushNotificationTemplateRequest>
Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.
template_name: Option<String>
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePushTemplate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePushTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePushTemplate
>
Creates a new builder-style object to manufacture CreatePushTemplateInput
Specifies the content and settings for a message template that can be used in messages that are sent through a push notification channel.
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreatePushTemplateInput
impl Send for CreatePushTemplateInput
impl Sync for CreatePushTemplateInput
impl Unpin for CreatePushTemplateInput
impl UnwindSafe for CreatePushTemplateInput
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