[][src]Struct rusoto_cognito_idp::GetUserResponse

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 PartialEq<GetUserResponse> for GetUserResponse[src]

impl Default for GetUserResponse[src]

impl Clone for GetUserResponse[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetUserResponse[src]

impl<'de> Deserialize<'de> for GetUserResponse[src]

Auto Trait Implementations

impl Send for GetUserResponse

impl Sync for GetUserResponse

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self