Struct aws_sdk_ses::types::ReceiptRuleSetMetadata
source · #[non_exhaustive]pub struct ReceiptRuleSetMetadata {
pub name: Option<String>,
pub created_timestamp: Option<DateTime>,
}
Expand description
Information about a receipt rule set.
A receipt rule set is a collection of rules that specify what Amazon SES should do with mail it receives on behalf of your account's verified domains.
For information about setting up receipt rule sets, 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.name: Option<String>
The name of the receipt rule set. The name must meet the following requirements:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Start and end with a letter or number.
-
Contain 64 characters or fewer.
created_timestamp: Option<DateTime>
The date and time the receipt rule set was created.
Implementations§
source§impl ReceiptRuleSetMetadata
impl ReceiptRuleSetMetadata
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the receipt rule set. The name must meet the following requirements:
-
Contain only ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Start and end with a letter or number.
-
Contain 64 characters or fewer.
sourcepub fn created_timestamp(&self) -> Option<&DateTime>
pub fn created_timestamp(&self) -> Option<&DateTime>
The date and time the receipt rule set was created.
source§impl ReceiptRuleSetMetadata
impl ReceiptRuleSetMetadata
sourcepub fn builder() -> ReceiptRuleSetMetadataBuilder
pub fn builder() -> ReceiptRuleSetMetadataBuilder
Creates a new builder-style object to manufacture ReceiptRuleSetMetadata
.
Trait Implementations§
source§impl Clone for ReceiptRuleSetMetadata
impl Clone for ReceiptRuleSetMetadata
source§fn clone(&self) -> ReceiptRuleSetMetadata
fn clone(&self) -> ReceiptRuleSetMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReceiptRuleSetMetadata
impl Debug for ReceiptRuleSetMetadata
source§impl PartialEq for ReceiptRuleSetMetadata
impl PartialEq for ReceiptRuleSetMetadata
source§fn eq(&self, other: &ReceiptRuleSetMetadata) -> bool
fn eq(&self, other: &ReceiptRuleSetMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReceiptRuleSetMetadata
Auto Trait Implementations§
impl Freeze for ReceiptRuleSetMetadata
impl RefUnwindSafe for ReceiptRuleSetMetadata
impl Send for ReceiptRuleSetMetadata
impl Sync for ReceiptRuleSetMetadata
impl Unpin for ReceiptRuleSetMetadata
impl UnwindSafe for ReceiptRuleSetMetadata
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