Struct rusoto_cognito_idp::GetUserResponse [−][src]
pub struct GetUserResponse { pub mfa_options: Option<Vec<MFAOptionType>>, pub preferred_mfa_setting: Option<String>, pub user_attributes: Vec<AttributeType>, pub user_mfa_setting_list: Option<Vec<String>>, pub username: String, }
Represents the response from the server from the request to get information about the user.
Fields
mfa_options: Option<Vec<MFAOptionType>>
Specifies the options for MFA (e.g., email or phone number).
preferred_mfa_setting: Option<String>
The user's preferred MFA setting.
user_attributes: Vec<AttributeType>
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
user_mfa_setting_list: Option<Vec<String>>
The list of the user's MFA settings.
username: String
The user name of the user you wish to retrieve from the get user request.
Trait Implementations
impl Default for GetUserResponse
[src]
impl Default for GetUserResponse
fn default() -> GetUserResponse
[src]
fn default() -> GetUserResponse
Returns the "default value" for a type. Read more
impl Debug for GetUserResponse
[src]
impl Debug for GetUserResponse
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GetUserResponse
[src]
impl Clone for GetUserResponse
fn clone(&self) -> GetUserResponse
[src]
fn clone(&self) -> GetUserResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for GetUserResponse
[src]
impl PartialEq for GetUserResponse
fn eq(&self, other: &GetUserResponse) -> bool
[src]
fn eq(&self, other: &GetUserResponse) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GetUserResponse) -> bool
[src]
fn ne(&self, other: &GetUserResponse) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for GetUserResponse
impl Send for GetUserResponse
impl Sync for GetUserResponse
impl Sync for GetUserResponse