pub struct CognitoEventUserPoolsHeader<T> {
pub version: Option<String>,
pub trigger_source: Option<T>,
pub region: Option<String>,
pub user_pool_id: Option<String>,
pub caller_context: CognitoEventUserPoolsCallerContext,
pub user_name: Option<String>,
}
Expand description
CognitoEventUserPoolsHeader
contains common data from events sent by AWS Cognito User Pools
Fields§
§version: Option<String>
§trigger_source: Option<T>
§region: Option<String>
§user_pool_id: Option<String>
§caller_context: CognitoEventUserPoolsCallerContext
§user_name: Option<String>
Trait Implementations§
source§impl<T: Clone> Clone for CognitoEventUserPoolsHeader<T>
impl<T: Clone> Clone for CognitoEventUserPoolsHeader<T>
source§fn clone(&self) -> CognitoEventUserPoolsHeader<T>
fn clone(&self) -> CognitoEventUserPoolsHeader<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for CognitoEventUserPoolsHeader<T>
impl<T: Debug> Debug for CognitoEventUserPoolsHeader<T>
source§impl<T: Default> Default for CognitoEventUserPoolsHeader<T>
impl<T: Default> Default for CognitoEventUserPoolsHeader<T>
source§fn default() -> CognitoEventUserPoolsHeader<T>
fn default() -> CognitoEventUserPoolsHeader<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for CognitoEventUserPoolsHeader<T>where
T: Deserialize<'de> + Default,
impl<'de, T> Deserialize<'de> for CognitoEventUserPoolsHeader<T>where
T: Deserialize<'de> + Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: PartialEq> PartialEq for CognitoEventUserPoolsHeader<T>
impl<T: PartialEq> PartialEq for CognitoEventUserPoolsHeader<T>
source§fn eq(&self, other: &CognitoEventUserPoolsHeader<T>) -> bool
fn eq(&self, other: &CognitoEventUserPoolsHeader<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Serialize for CognitoEventUserPoolsHeader<T>where
T: Serialize,
impl<T> Serialize for CognitoEventUserPoolsHeader<T>where
T: Serialize,
impl<T: Eq> Eq for CognitoEventUserPoolsHeader<T>
impl<T> StructuralPartialEq for CognitoEventUserPoolsHeader<T>
Auto Trait Implementations§
impl<T> Freeze for CognitoEventUserPoolsHeader<T>where
T: Freeze,
impl<T> RefUnwindSafe for CognitoEventUserPoolsHeader<T>where
T: RefUnwindSafe,
impl<T> Send for CognitoEventUserPoolsHeader<T>where
T: Send,
impl<T> Sync for CognitoEventUserPoolsHeader<T>where
T: Sync,
impl<T> Unpin for CognitoEventUserPoolsHeader<T>where
T: Unpin,
impl<T> UnwindSafe for CognitoEventUserPoolsHeader<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more