#[non_exhaustive]pub struct DescribeOrganizationOutput {
pub organization_id: Option<String>,
pub alias: Option<String>,
pub state: Option<String>,
pub directory_id: Option<String>,
pub directory_type: Option<String>,
pub default_mail_domain: Option<String>,
pub completed_date: Option<DateTime>,
pub error_message: Option<String>,
pub arn: Option<String>,
pub migration_admin: Option<String>,
pub interoperability_enabled: bool,
/* 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.organization_id: Option<String>
The identifier of an organization.
alias: Option<String>
The alias for an organization.
state: Option<String>
The state of an organization.
directory_id: Option<String>
The identifier for the directory associated with an WorkMail organization.
directory_type: Option<String>
The type of directory associated with the WorkMail organization.
default_mail_domain: Option<String>
The default mail domain associated with the organization.
completed_date: Option<DateTime>
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
error_message: Option<String>
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
arn: Option<String>
The Amazon Resource Name (ARN) of the organization.
migration_admin: Option<String>
The user ID of the migration admin if migration is enabled for the organization.
interoperability_enabled: bool
Indicates if interoperability is enabled for this organization.
Implementations§
source§impl DescribeOrganizationOutput
impl DescribeOrganizationOutput
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The identifier of an organization.
sourcepub fn directory_id(&self) -> Option<&str>
pub fn directory_id(&self) -> Option<&str>
The identifier for the directory associated with an WorkMail organization.
sourcepub fn directory_type(&self) -> Option<&str>
pub fn directory_type(&self) -> Option<&str>
The type of directory associated with the WorkMail organization.
sourcepub fn default_mail_domain(&self) -> Option<&str>
pub fn default_mail_domain(&self) -> Option<&str>
The default mail domain associated with the organization.
sourcepub fn completed_date(&self) -> Option<&DateTime>
pub fn completed_date(&self) -> Option<&DateTime>
The date at which the organization became usable in the WorkMail context, in UNIX epoch time format.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
(Optional) The error message indicating if unexpected behavior was encountered with regards to the organization.
sourcepub fn migration_admin(&self) -> Option<&str>
pub fn migration_admin(&self) -> Option<&str>
The user ID of the migration admin if migration is enabled for the organization.
sourcepub fn interoperability_enabled(&self) -> bool
pub fn interoperability_enabled(&self) -> bool
Indicates if interoperability is enabled for this organization.
source§impl DescribeOrganizationOutput
impl DescribeOrganizationOutput
sourcepub fn builder() -> DescribeOrganizationOutputBuilder
pub fn builder() -> DescribeOrganizationOutputBuilder
Creates a new builder-style object to manufacture DescribeOrganizationOutput
.
Trait Implementations§
source§impl Clone for DescribeOrganizationOutput
impl Clone for DescribeOrganizationOutput
source§fn clone(&self) -> DescribeOrganizationOutput
fn clone(&self) -> DescribeOrganizationOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeOrganizationOutput
impl Debug for DescribeOrganizationOutput
source§impl PartialEq for DescribeOrganizationOutput
impl PartialEq for DescribeOrganizationOutput
source§fn eq(&self, other: &DescribeOrganizationOutput) -> bool
fn eq(&self, other: &DescribeOrganizationOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeOrganizationOutput
impl RequestId for DescribeOrganizationOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeOrganizationOutput
Auto Trait Implementations§
impl Freeze for DescribeOrganizationOutput
impl RefUnwindSafe for DescribeOrganizationOutput
impl Send for DescribeOrganizationOutput
impl Sync for DescribeOrganizationOutput
impl Unpin for DescribeOrganizationOutput
impl UnwindSafe for DescribeOrganizationOutput
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