[][src]Struct aws_lambda_events::event::appsync::AppSyncCognitoIdentity

pub struct AppSyncCognitoIdentity<T1 = Value> where
    T1: DeserializeOwned,
    T1: Serialize
{ pub sub: Option<String>, pub issuer: Option<String>, pub username: Option<String>, pub claims: HashMap<String, T1>, pub source_ip: Vec<String>, pub default_auth_strategy: Option<String>, }

AppSyncCognitoIdentity contains information about the caller authed via Cognito.

Fields

sub: Option<String>issuer: Option<String>username: Option<String>claims: HashMap<String, T1>source_ip: Vec<String>default_auth_strategy: Option<String>

Trait Implementations

impl<T1: PartialEq> PartialEq<AppSyncCognitoIdentity<T1>> for AppSyncCognitoIdentity<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1: Clone> Clone for AppSyncCognitoIdentity<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

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

Performs copy-assignment from source. Read more

impl<T1: Debug> Debug for AppSyncCognitoIdentity<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<T1> Serialize for AppSyncCognitoIdentity<T1> where
    T1: DeserializeOwned,
    T1: Serialize
[src]

impl<'de, T1> Deserialize<'de> for AppSyncCognitoIdentity<T1> where
    T1: DeserializeOwned,
    T1: Serialize,
    T1: Default
[src]

Auto Trait Implementations

impl<T1> Send for AppSyncCognitoIdentity<T1> where
    T1: Send

impl<T1> Sync for AppSyncCognitoIdentity<T1> where
    T1: Sync

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]