Struct rusoto_cognito_identity::MappingRule [−][src]
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 Default for MappingRule
[src]
impl Default for MappingRule
fn default() -> MappingRule
[src]
fn default() -> MappingRule
Returns the "default value" for a type. Read more
impl Debug for MappingRule
[src]
impl Debug for MappingRule
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for MappingRule
[src]
impl Clone for MappingRule
fn clone(&self) -> MappingRule
[src]
fn clone(&self) -> MappingRule
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MappingRule
[src]
impl PartialEq for MappingRule
fn eq(&self, other: &MappingRule) -> bool
[src]
fn eq(&self, other: &MappingRule) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MappingRule) -> bool
[src]
fn ne(&self, other: &MappingRule) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for MappingRule
impl Send for MappingRule
impl Sync for MappingRule
impl Sync for MappingRule