pub struct User {
pub disabled_date: Option<f64>,
pub display_name: Option<String>,
pub email: Option<String>,
pub enabled_date: Option<f64>,
pub id: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
pub user_role: Option<String>,
}Expand description
The representation of an Amazon WorkMail user.
Fields§
§disabled_date: Option<f64>The date indicating when the user was disabled from Amazon WorkMail use.
display_name: Option<String>The display name of the user.
email: Option<String>The email of the user.
enabled_date: Option<f64>The date indicating when the user was enabled for Amazon WorkMail use.
id: Option<String>The identifier of the user.
name: Option<String>The name of the user.
state: Option<String>The state of the user, which can be ENABLED, DISABLED, or DELETED.
user_role: Option<String>The role of the user.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for User
impl<'de> Deserialize<'de> for User
Source§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
impl StructuralPartialEq for User
Auto Trait Implementations§
impl Freeze for User
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more