Struct aws_sdk_workmail::model::Resource
source · #[non_exhaustive]pub struct Resource { /* private fields */ }
Expand description
The representation of a resource.
Implementations§
source§impl Resource
impl Resource
sourcepub fn type(&self) -> Option<&ResourceType>
pub fn type(&self) -> Option<&ResourceType>
The type of the resource: equipment or room.
sourcepub fn state(&self) -> Option<&EntityState>
pub fn state(&self) -> Option<&EntityState>
The state of the resource, which can be ENABLED, DISABLED, or DELETED.
sourcepub fn enabled_date(&self) -> Option<&DateTime>
pub fn enabled_date(&self) -> Option<&DateTime>
The date indicating when the resource was enabled for WorkMail use.
sourcepub fn disabled_date(&self) -> Option<&DateTime>
pub fn disabled_date(&self) -> Option<&DateTime>
The date indicating when the resource was disabled from WorkMail use.