Struct rusoto_workmail::DescribeUserResponse [−][src]
pub struct DescribeUserResponse { pub disabled_date: Option<f64>, pub display_name: Option<String>, pub email: Option<String>, pub enabled_date: Option<f64>, pub name: Option<String>, pub state: Option<String>, pub user_id: Option<String>, pub user_role: Option<String>, }
Fields
disabled_date: Option<f64>
The date and time at which the user was disabled for Amazon WorkMail usage, in UNIX epoch time format.
display_name: Option<String>
The display name of the user.
email: Option<String>
The email of the user.
enabled_date: Option<f64>
The date and time at which the user was enabled for Amazon WorkMail usage, in UNIX epoch time format.
name: Option<String>
The name for the user.
state: Option<String>
The state of a user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
user_id: Option<String>
The identifier for the described user.
user_role: Option<String>
In certain cases, other entities are modeled as users. If interoperability is enabled, resources are imported into Amazon 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.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescribeUserResponse
impl Send for DescribeUserResponse
impl Sync for DescribeUserResponse
impl Unpin for DescribeUserResponse
impl UnwindSafe for DescribeUserResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self