Struct aws_sdk_workmail::model::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 requried.
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
sourceimpl 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 requried.
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.
sourceimpl AvailabilityConfiguration
impl AvailabilityConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AvailabilityConfiguration
.
Trait Implementations
sourceimpl Clone for AvailabilityConfiguration
impl Clone for AvailabilityConfiguration
sourcefn clone(&self) -> AvailabilityConfiguration
fn clone(&self) -> AvailabilityConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AvailabilityConfiguration
impl Debug for AvailabilityConfiguration
sourceimpl PartialEq<AvailabilityConfiguration> for AvailabilityConfiguration
impl PartialEq<AvailabilityConfiguration> for AvailabilityConfiguration
sourcefn eq(&self, other: &AvailabilityConfiguration) -> bool
fn eq(&self, other: &AvailabilityConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AvailabilityConfiguration) -> bool
fn ne(&self, other: &AvailabilityConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for AvailabilityConfiguration
Auto Trait Implementations
impl RefUnwindSafe for AvailabilityConfiguration
impl Send for AvailabilityConfiguration
impl Sync for AvailabilityConfiguration
impl Unpin for AvailabilityConfiguration
impl UnwindSafe for AvailabilityConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more