#[non_exhaustive]pub struct DescribeUserOutput { /* private fields */ }
Implementations§
source§impl DescribeUserOutput
impl DescribeUserOutput
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name of the user.
sourcepub fn state(&self) -> Option<&EntityState>
pub fn state(&self) -> Option<&EntityState>
The state of a user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
sourcepub fn user_role(&self) -> Option<&UserRole>
pub fn user_role(&self) -> Option<&UserRole>
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into WorkMail as users. Because different WorkMail organizations rely on different directory types, administrators can distinguish between an unregistered user (account is disabled and has a user role) and the directory administrators. The values are USER, RESOURCE, and SYSTEM_USER.
sourcepub fn enabled_date(&self) -> Option<&DateTime>
pub fn enabled_date(&self) -> Option<&DateTime>
The date and time at which the user was enabled for WorkMailusage, in UNIX epoch time format.
sourcepub fn disabled_date(&self) -> Option<&DateTime>
pub fn disabled_date(&self) -> Option<&DateTime>
The date and time at which the user was disabled for WorkMail usage, in UNIX epoch time format.
source§impl DescribeUserOutput
impl DescribeUserOutput
sourcepub fn builder() -> DescribeUserOutputBuilder
pub fn builder() -> DescribeUserOutputBuilder
Creates a new builder-style object to manufacture DescribeUserOutput
.
Trait Implementations§
source§impl Clone for DescribeUserOutput
impl Clone for DescribeUserOutput
source§fn clone(&self) -> DescribeUserOutput
fn clone(&self) -> DescribeUserOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeUserOutput
impl Debug for DescribeUserOutput
source§impl PartialEq<DescribeUserOutput> for DescribeUserOutput
impl PartialEq<DescribeUserOutput> for DescribeUserOutput
source§fn eq(&self, other: &DescribeUserOutput) -> bool
fn eq(&self, other: &DescribeUserOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeUserOutput
impl RequestId for DescribeUserOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.