[−][src]Struct rusoto_cognito_idp::SchemaAttributeType
Contains information about the schema attribute.
Fields
attribute_data_type: Option<String>
The attribute data type.
developer_only_attribute: Option<bool>
We recommend that you use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute
.
Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users will not be able to modify this attribute using their access token. For example, DeveloperOnlyAttribute
can be modified using the API but cannot be updated using the API.
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 Clone for SchemaAttributeType
[src]
pub fn clone(&self) -> SchemaAttributeType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SchemaAttributeType
[src]
impl Default for SchemaAttributeType
[src]
pub fn default() -> SchemaAttributeType
[src]
impl<'de> Deserialize<'de> for SchemaAttributeType
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SchemaAttributeType> for SchemaAttributeType
[src]
pub fn eq(&self, other: &SchemaAttributeType) -> bool
[src]
pub fn ne(&self, other: &SchemaAttributeType) -> bool
[src]
impl Serialize for SchemaAttributeType
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SchemaAttributeType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SchemaAttributeType
[src]
impl Send for SchemaAttributeType
[src]
impl Sync for SchemaAttributeType
[src]
impl Unpin for SchemaAttributeType
[src]
impl UnwindSafe for SchemaAttributeType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,