Struct aws_sdk_workmail::model::User [−][src]
#[non_exhaustive]pub struct User {
pub id: Option<String>,
pub email: Option<String>,
pub name: Option<String>,
pub display_name: Option<String>,
pub state: Option<EntityState>,
pub user_role: Option<UserRole>,
pub enabled_date: Option<DateTime>,
pub disabled_date: Option<DateTime>,
}
Expand description
The representation of an Amazon WorkMail user.
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.id: Option<String>
The identifier of the user.
email: Option<String>
The email of the user.
name: Option<String>
The name of the user.
display_name: Option<String>
The display name of the user.
state: Option<EntityState>
The state of the user, which can be ENABLED, DISABLED, or DELETED.
user_role: Option<UserRole>
The role of the user.
enabled_date: Option<DateTime>
The date indicating when the user was enabled for Amazon WorkMail use.
disabled_date: Option<DateTime>
The date indicating when the user was disabled from Amazon WorkMail use.
Implementations
The display name of the user.
The state of the user, which can be ENABLED, DISABLED, or DELETED.
The date indicating when the user was enabled for Amazon WorkMail use.
The date indicating when the user was disabled from Amazon WorkMail use.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for User
impl UnwindSafe for User
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more