[][src]Struct rusoto_cognito_identity::MappingRule

pub struct MappingRule {
    pub claim: String,
    pub match_type: String,
    pub role_arn: String,
    pub value: String,
}

A rule that maps a claim name, a claim value, and a match type to a role ARN.

Fields

claim: String

The claim name that must be present in the token, for example, "isAdmin" or "paid".

match_type: String

The match condition that specifies how closely the claim value in the IdP token must match Value.

role_arn: String

The role ARN.

value: String

A brief string that the claim must match, for example, "paid" or "yes".

Trait Implementations

impl Clone for MappingRule[src]

impl Debug for MappingRule[src]

impl Default for MappingRule[src]

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

impl PartialEq<MappingRule> for MappingRule[src]

impl Serialize for MappingRule[src]

impl StructuralPartialEq for MappingRule[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, 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.