Struct aws_sdk_workmail::output::DescribeResourceOutput
source · [−]#[non_exhaustive]pub struct DescribeResourceOutput {
pub resource_id: Option<String>,
pub email: Option<String>,
pub name: Option<String>,
pub type: Option<ResourceType>,
pub booking_options: Option<BookingOptions>,
pub state: Option<EntityState>,
pub enabled_date: Option<DateTime>,
pub disabled_date: Option<DateTime>,
}
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.resource_id: Option<String>
The identifier of the described resource.
email: Option<String>
The email of the described resource.
name: Option<String>
The name of the described resource.
type: Option<ResourceType>
The type of the described resource.
booking_options: Option<BookingOptions>
The booking options for the described resource.
state: Option<EntityState>
The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
enabled_date: Option<DateTime>
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
disabled_date: Option<DateTime>
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
Implementations
sourceimpl DescribeResourceOutput
impl DescribeResourceOutput
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The identifier of the described resource.
sourcepub fn type(&self) -> Option<&ResourceType>
pub fn type(&self) -> Option<&ResourceType>
The type of the described resource.
sourcepub fn booking_options(&self) -> Option<&BookingOptions>
pub fn booking_options(&self) -> Option<&BookingOptions>
The booking options for the described resource.
sourcepub fn state(&self) -> Option<&EntityState>
pub fn state(&self) -> Option<&EntityState>
The state of the resource: enabled (registered to Amazon WorkMail), disabled (deregistered or never registered to WorkMail), or deleted.
sourcepub fn enabled_date(&self) -> Option<&DateTime>
pub fn enabled_date(&self) -> Option<&DateTime>
The date and time when a resource was enabled for WorkMail, in UNIX epoch time format.
sourcepub fn disabled_date(&self) -> Option<&DateTime>
pub fn disabled_date(&self) -> Option<&DateTime>
The date and time when a resource was disabled from WorkMail, in UNIX epoch time format.
sourceimpl DescribeResourceOutput
impl DescribeResourceOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeResourceOutput
Trait Implementations
sourceimpl Clone for DescribeResourceOutput
impl Clone for DescribeResourceOutput
sourcefn clone(&self) -> DescribeResourceOutput
fn clone(&self) -> DescribeResourceOutput
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 DescribeResourceOutput
impl Debug for DescribeResourceOutput
sourceimpl PartialEq<DescribeResourceOutput> for DescribeResourceOutput
impl PartialEq<DescribeResourceOutput> for DescribeResourceOutput
sourcefn eq(&self, other: &DescribeResourceOutput) -> bool
fn eq(&self, other: &DescribeResourceOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeResourceOutput) -> bool
fn ne(&self, other: &DescribeResourceOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeResourceOutput
Auto Trait Implementations
impl RefUnwindSafe for DescribeResourceOutput
impl Send for DescribeResourceOutput
impl Sync for DescribeResourceOutput
impl Unpin for DescribeResourceOutput
impl UnwindSafe for DescribeResourceOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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