Struct aws_sdk_sesv2::input::CreateEmailTemplateInput
source ·
[−]#[non_exhaustive]pub struct CreateEmailTemplateInput {
pub template_name: Option<String>,
pub template_content: Option<EmailTemplateContent>,
}
Expand description
Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.
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.template_name: Option<String>
The name of the template.
template_content: Option<EmailTemplateContent>
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEmailTemplate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateEmailTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateEmailTemplate
>
Creates a new builder-style object to manufacture CreateEmailTemplateInput
The name of the template.
The content of the email template, composed of a subject line, an HTML part, and a text-only part.
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 CreateEmailTemplateInput
impl Send for CreateEmailTemplateInput
impl Sync for CreateEmailTemplateInput
impl Unpin for CreateEmailTemplateInput
impl UnwindSafe for CreateEmailTemplateInput
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