#[non_exhaustive]pub struct GetMailDomainOutput {
pub records: Option<Vec<DnsRecord>>,
pub is_test_domain: bool,
pub is_default: bool,
pub ownership_verification_status: Option<DnsRecordVerificationStatus>,
pub dkim_verification_status: Option<DnsRecordVerificationStatus>,
/* private fields */
}
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.records: Option<Vec<DnsRecord>>
A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
is_test_domain: bool
Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
is_default: bool
Specifies whether the domain is the default domain for your organization.
ownership_verification_status: Option<DnsRecordVerificationStatus>
Indicates the status of the domain ownership verification.
dkim_verification_status: Option<DnsRecordVerificationStatus>
Indicates the status of a DKIM verification.
Implementations§
source§impl GetMailDomainOutput
impl GetMailDomainOutput
sourcepub fn records(&self) -> &[DnsRecord]
pub fn records(&self) -> &[DnsRecord]
A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .records.is_none()
.
sourcepub fn is_test_domain(&self) -> bool
pub fn is_test_domain(&self) -> bool
Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Specifies whether the domain is the default domain for your organization.
sourcepub fn ownership_verification_status(
&self
) -> Option<&DnsRecordVerificationStatus>
pub fn ownership_verification_status( &self ) -> Option<&DnsRecordVerificationStatus>
Indicates the status of the domain ownership verification.
sourcepub fn dkim_verification_status(&self) -> Option<&DnsRecordVerificationStatus>
pub fn dkim_verification_status(&self) -> Option<&DnsRecordVerificationStatus>
Indicates the status of a DKIM verification.
source§impl GetMailDomainOutput
impl GetMailDomainOutput
sourcepub fn builder() -> GetMailDomainOutputBuilder
pub fn builder() -> GetMailDomainOutputBuilder
Creates a new builder-style object to manufacture GetMailDomainOutput
.
Trait Implementations§
source§impl Clone for GetMailDomainOutput
impl Clone for GetMailDomainOutput
source§fn clone(&self) -> GetMailDomainOutput
fn clone(&self) -> GetMailDomainOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetMailDomainOutput
impl Debug for GetMailDomainOutput
source§impl PartialEq for GetMailDomainOutput
impl PartialEq for GetMailDomainOutput
source§fn eq(&self, other: &GetMailDomainOutput) -> bool
fn eq(&self, other: &GetMailDomainOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetMailDomainOutput
impl RequestId for GetMailDomainOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetMailDomainOutput
Auto Trait Implementations§
impl Freeze for GetMailDomainOutput
impl RefUnwindSafe for GetMailDomainOutput
impl Send for GetMailDomainOutput
impl Sync for GetMailDomainOutput
impl Unpin for GetMailDomainOutput
impl UnwindSafe for GetMailDomainOutput
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