#[non_exhaustive]pub struct DescribeResourceOutput { /* private fields */ }
Implementations§
source§impl 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 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.
source§impl DescribeResourceOutput
impl DescribeResourceOutput
sourcepub fn builder() -> DescribeResourceOutputBuilder
pub fn builder() -> DescribeResourceOutputBuilder
Creates a new builder-style object to manufacture DescribeResourceOutput
.
Trait Implementations§
source§impl Clone for DescribeResourceOutput
impl Clone for DescribeResourceOutput
source§fn clone(&self) -> DescribeResourceOutput
fn clone(&self) -> DescribeResourceOutput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DescribeResourceOutput
impl Debug for DescribeResourceOutput
source§impl PartialEq<DescribeResourceOutput> for DescribeResourceOutput
impl PartialEq<DescribeResourceOutput> for DescribeResourceOutput
source§fn 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 ==
.source§impl RequestId for DescribeResourceOutput
impl RequestId for DescribeResourceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.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§
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
Mutably borrows from an owned value. Read more