Struct aws_sdk_workmail::types::AvailabilityConfiguration
source · #[non_exhaustive]pub struct AvailabilityConfiguration {
pub domain_name: Option<String>,
pub provider_type: Option<AvailabilityProviderType>,
pub ews_provider: Option<RedactedEwsAvailabilityProvider>,
pub lambda_provider: Option<LambdaAvailabilityProvider>,
pub date_created: Option<DateTime>,
pub date_modified: Option<DateTime>,
}
Expand description
List all the AvailabilityConfiguration
's for the given WorkMail organization.
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.domain_name: Option<String>
Displays the domain to which the provider applies.
provider_type: Option<AvailabilityProviderType>
Displays the provider type that applies to this domain.
ews_provider: Option<RedactedEwsAvailabilityProvider>
If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
lambda_provider: Option<LambdaAvailabilityProvider>
If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
date_created: Option<DateTime>
The date and time at which the availability configuration was created.
date_modified: Option<DateTime>
The date and time at which the availability configuration was last modified.
Implementations§
source§impl AvailabilityConfiguration
impl AvailabilityConfiguration
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
Displays the domain to which the provider applies.
sourcepub fn provider_type(&self) -> Option<&AvailabilityProviderType>
pub fn provider_type(&self) -> Option<&AvailabilityProviderType>
Displays the provider type that applies to this domain.
sourcepub fn ews_provider(&self) -> Option<&RedactedEwsAvailabilityProvider>
pub fn ews_provider(&self) -> Option<&RedactedEwsAvailabilityProvider>
If ProviderType
is EWS
, then this field contains RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn lambda_provider(&self) -> Option<&LambdaAvailabilityProvider>
pub fn lambda_provider(&self) -> Option<&LambdaAvailabilityProvider>
If ProviderType is LAMBDA
then this field contains LambdaAvailabilityProvider
. Otherwise, it is not required.
sourcepub fn date_created(&self) -> Option<&DateTime>
pub fn date_created(&self) -> Option<&DateTime>
The date and time at which the availability configuration was created.
sourcepub fn date_modified(&self) -> Option<&DateTime>
pub fn date_modified(&self) -> Option<&DateTime>
The date and time at which the availability configuration was last modified.
source§impl AvailabilityConfiguration
impl AvailabilityConfiguration
sourcepub fn builder() -> AvailabilityConfigurationBuilder
pub fn builder() -> AvailabilityConfigurationBuilder
Creates a new builder-style object to manufacture AvailabilityConfiguration
.
Trait Implementations§
source§impl Clone for AvailabilityConfiguration
impl Clone for AvailabilityConfiguration
source§fn clone(&self) -> AvailabilityConfiguration
fn clone(&self) -> AvailabilityConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AvailabilityConfiguration
impl Debug for AvailabilityConfiguration
source§impl PartialEq for AvailabilityConfiguration
impl PartialEq for AvailabilityConfiguration
source§fn eq(&self, other: &AvailabilityConfiguration) -> bool
fn eq(&self, other: &AvailabilityConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AvailabilityConfiguration
Auto Trait Implementations§
impl Freeze for AvailabilityConfiguration
impl RefUnwindSafe for AvailabilityConfiguration
impl Send for AvailabilityConfiguration
impl Sync for AvailabilityConfiguration
impl Unpin for AvailabilityConfiguration
impl UnwindSafe for AvailabilityConfiguration
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