[][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>>

This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about TOTP software token MFA configurations. To look up information about either type of MFA configuration, use the use the GetUserResponse$UserMFASettingList response instead.

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 MFA options that are enabled for the user. The possible values in this list are SMS_MFA and SOFTWARE_TOKEN_MFA.

username: String

The user name of the user you wish to retrieve from the get user request.

Trait Implementations

impl Clone for GetUserResponse[src]

impl Debug for GetUserResponse[src]

impl Default for GetUserResponse[src]

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

impl PartialEq<GetUserResponse> for GetUserResponse[src]

impl StructuralPartialEq for GetUserResponse[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.