#[non_exhaustive]pub struct ListEmailTemplatesOutput {
pub templates_metadata: Option<Vec<EmailTemplateMetadata>>,
pub next_token: Option<String>,
/* private fields */
}
Expand description
The following elements are returned by the service.
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.templates_metadata: Option<Vec<EmailTemplateMetadata>>
An array the contains the name and creation time stamp for each template in your Amazon SES account.
next_token: Option<String>
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent ListEmailTemplates
call to retrieve the next 10 email templates.
Implementations§
source§impl ListEmailTemplatesOutput
impl ListEmailTemplatesOutput
sourcepub fn templates_metadata(&self) -> &[EmailTemplateMetadata]
pub fn templates_metadata(&self) -> &[EmailTemplateMetadata]
An array the contains the name and creation time stamp for each template in your Amazon SES account.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .templates_metadata.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token indicating that there are additional email templates available to be listed. Pass this token to a subsequent ListEmailTemplates
call to retrieve the next 10 email templates.
source§impl ListEmailTemplatesOutput
impl ListEmailTemplatesOutput
sourcepub fn builder() -> ListEmailTemplatesOutputBuilder
pub fn builder() -> ListEmailTemplatesOutputBuilder
Creates a new builder-style object to manufacture ListEmailTemplatesOutput
.
Trait Implementations§
source§impl Clone for ListEmailTemplatesOutput
impl Clone for ListEmailTemplatesOutput
source§fn clone(&self) -> ListEmailTemplatesOutput
fn clone(&self) -> ListEmailTemplatesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListEmailTemplatesOutput
impl Debug for ListEmailTemplatesOutput
source§impl PartialEq for ListEmailTemplatesOutput
impl PartialEq for ListEmailTemplatesOutput
source§fn eq(&self, other: &ListEmailTemplatesOutput) -> bool
fn eq(&self, other: &ListEmailTemplatesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListEmailTemplatesOutput
impl RequestId for ListEmailTemplatesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListEmailTemplatesOutput
Auto Trait Implementations§
impl Freeze for ListEmailTemplatesOutput
impl RefUnwindSafe for ListEmailTemplatesOutput
impl Send for ListEmailTemplatesOutput
impl Sync for ListEmailTemplatesOutput
impl Unpin for ListEmailTemplatesOutput
impl UnwindSafe for ListEmailTemplatesOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more