Struct aws_sdk_ses::types::IdentityDkimAttributes
source · #[non_exhaustive]pub struct IdentityDkimAttributes {
pub dkim_enabled: bool,
pub dkim_verification_status: VerificationStatus,
pub dkim_tokens: Option<Vec<String>>,
}
Expand description
Represents the DKIM attributes of a verified email address or a domain.
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.dkim_enabled: bool
Is true if DKIM signing is enabled for email sent from the identity. It's false otherwise. The default value is true.
dkim_verification_status: VerificationStatus
Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.)
dkim_tokens: Option<Vec<String>>
A set of character strings that represent the domain's identity. Using these tokens, you need to create DNS CNAME records that point to DKIM public keys that are hosted by Amazon SES. Amazon Web Services eventually detects that you've updated your DNS records. This detection process might take up to 72 hours. After successful detection, Amazon SES is able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.)
For more information about creating DNS records using DKIM tokens, see the Amazon SES Developer Guide.
Implementations§
source§impl IdentityDkimAttributes
impl IdentityDkimAttributes
sourcepub fn dkim_enabled(&self) -> bool
pub fn dkim_enabled(&self) -> bool
Is true if DKIM signing is enabled for email sent from the identity. It's false otherwise. The default value is true.
sourcepub fn dkim_verification_status(&self) -> &VerificationStatus
pub fn dkim_verification_status(&self) -> &VerificationStatus
Describes whether Amazon SES has successfully verified the DKIM DNS records (tokens) published in the domain name's DNS. (This only applies to domain identities, not email address identities.)
sourcepub fn dkim_tokens(&self) -> &[String]
pub fn dkim_tokens(&self) -> &[String]
A set of character strings that represent the domain's identity. Using these tokens, you need to create DNS CNAME records that point to DKIM public keys that are hosted by Amazon SES. Amazon Web Services eventually detects that you've updated your DNS records. This detection process might take up to 72 hours. After successful detection, Amazon SES is able to DKIM-sign email originating from that domain. (This only applies to domain identities, not email address identities.)
For more information about creating DNS records using DKIM tokens, see the Amazon SES Developer Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dkim_tokens.is_none()
.
source§impl IdentityDkimAttributes
impl IdentityDkimAttributes
sourcepub fn builder() -> IdentityDkimAttributesBuilder
pub fn builder() -> IdentityDkimAttributesBuilder
Creates a new builder-style object to manufacture IdentityDkimAttributes
.
Trait Implementations§
source§impl Clone for IdentityDkimAttributes
impl Clone for IdentityDkimAttributes
source§fn clone(&self) -> IdentityDkimAttributes
fn clone(&self) -> IdentityDkimAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IdentityDkimAttributes
impl Debug for IdentityDkimAttributes
source§impl PartialEq for IdentityDkimAttributes
impl PartialEq for IdentityDkimAttributes
source§fn eq(&self, other: &IdentityDkimAttributes) -> bool
fn eq(&self, other: &IdentityDkimAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IdentityDkimAttributes
Auto Trait Implementations§
impl Freeze for IdentityDkimAttributes
impl RefUnwindSafe for IdentityDkimAttributes
impl Send for IdentityDkimAttributes
impl Sync for IdentityDkimAttributes
impl Unpin for IdentityDkimAttributes
impl UnwindSafe for IdentityDkimAttributes
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