Struct aws_lambda_events::event::cognito::CognitoEvent
source · pub struct CognitoEvent {
pub dataset_name: Option<String>,
pub dataset_records: HashMap<String, CognitoDatasetRecord>,
pub event_type: Option<String>,
pub identity_id: Option<String>,
pub identity_pool_id: Option<String>,
pub region: Option<String>,
pub version: i64,
}
Expand description
CognitoEvent
contains data from an event sent from AWS Cognito Sync
Fields§
§dataset_name: Option<String>
§dataset_records: HashMap<String, CognitoDatasetRecord>
§event_type: Option<String>
§identity_id: Option<String>
§identity_pool_id: Option<String>
§region: Option<String>
§version: i64
Trait Implementations§
source§impl Clone for CognitoEvent
impl Clone for CognitoEvent
source§fn clone(&self) -> CognitoEvent
fn clone(&self) -> CognitoEvent
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 Debug for CognitoEvent
impl Debug for CognitoEvent
source§impl Default for CognitoEvent
impl Default for CognitoEvent
source§fn default() -> CognitoEvent
fn default() -> CognitoEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CognitoEvent
impl<'de> Deserialize<'de> for CognitoEvent
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 PartialEq for CognitoEvent
impl PartialEq for CognitoEvent
source§fn eq(&self, other: &CognitoEvent) -> bool
fn eq(&self, other: &CognitoEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CognitoEvent
impl Serialize for CognitoEvent
impl Eq for CognitoEvent
impl StructuralPartialEq for CognitoEvent
Auto Trait Implementations§
impl Freeze for CognitoEvent
impl RefUnwindSafe for CognitoEvent
impl Send for CognitoEvent
impl Sync for CognitoEvent
impl Unpin for CognitoEvent
impl UnwindSafe for CognitoEvent
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