#[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>,
/* 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.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 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§
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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>
None
if the service could not be reached.