Struct aws_sdk_ses::model::Template
source · [−]#[non_exhaustive]pub struct Template {
pub template_name: Option<String>,
pub subject_part: Option<String>,
pub text_part: Option<String>,
pub html_part: Option<String>,
}
Expand description
The content of the email, composed of a subject line, an HTML part, and a text-only part.
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. You will refer to this name when you send email using the SendTemplatedEmail
or SendBulkTemplatedEmail
operations.
subject_part: Option<String>
The subject line of the email.
text_part: Option<String>
The email body that will be visible to recipients whose email clients do not display HTML.
html_part: Option<String>
The HTML body of the email.
Implementations
sourceimpl Template
impl Template
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the template. You will refer to this name when you send email using the SendTemplatedEmail
or SendBulkTemplatedEmail
operations.
sourcepub fn subject_part(&self) -> Option<&str>
pub fn subject_part(&self) -> Option<&str>
The subject line of the email.
Trait Implementations
impl StructuralPartialEq for Template
Auto Trait Implementations
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnwindSafe for Template
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more