[][src]Struct rusoto_cognito_idp::SchemaAttributeType

pub struct SchemaAttributeType {
    pub attribute_data_type: Option<String>,
    pub developer_only_attribute: Option<bool>,
    pub mutable: Option<bool>,
    pub name: Option<String>,
    pub number_attribute_constraints: Option<NumberAttributeConstraintsType>,
    pub required: Option<bool>,
    pub string_attribute_constraints: Option<StringAttributeConstraintsType>,
}

Contains information about the schema attribute.

Fields

attribute_data_type: Option<String>

The attribute data type.

developer_only_attribute: Option<bool>

Specifies whether the attribute type is developer only.

mutable: Option<bool>

Specifies whether the value of the attribute can be changed.

For any user pool attribute that's mapped to an identity provider attribute, you must set this parameter to true. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.

name: Option<String>

A schema attribute of the name type.

number_attribute_constraints: Option<NumberAttributeConstraintsType>

Specifies the constraints for an attribute of the number type.

required: Option<bool>

Specifies whether a user pool attribute is required. If the attribute is required and the user does not provide a value, registration or sign-in will fail.

string_attribute_constraints: Option<StringAttributeConstraintsType>

Specifies the constraints for an attribute of the string type.

Trait Implementations

impl PartialEq<SchemaAttributeType> for SchemaAttributeType[src]

impl Default for SchemaAttributeType[src]

impl Clone for SchemaAttributeType[src]

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

Performs copy-assignment from source. Read more

impl Debug for SchemaAttributeType[src]

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

impl Serialize for SchemaAttributeType[src]

Auto Trait Implementations

Blanket Implementations

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> From for T[src]

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

type Error = Infallible

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

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