Struct rusoto_workmail::DescribeUserResponse
source · [−]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
sourceimpl Clone for DescribeUserResponse
impl Clone for DescribeUserResponse
sourcefn clone(&self) -> DescribeUserResponse
fn clone(&self) -> DescribeUserResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeUserResponse
impl Debug for DescribeUserResponse
sourceimpl Default for DescribeUserResponse
impl Default for DescribeUserResponse
sourcefn default() -> DescribeUserResponse
fn default() -> DescribeUserResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DescribeUserResponse
impl<'de> Deserialize<'de> for DescribeUserResponse
sourcefn 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
sourceimpl PartialEq<DescribeUserResponse> for DescribeUserResponse
impl PartialEq<DescribeUserResponse> for DescribeUserResponse
sourcefn eq(&self, other: &DescribeUserResponse) -> bool
fn eq(&self, other: &DescribeUserResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeUserResponse) -> bool
fn ne(&self, other: &DescribeUserResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeUserResponse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more