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
sourceimpl Clone for CognitoEvent
impl Clone for CognitoEvent
sourcefn clone(&self) -> CognitoEvent
fn clone(&self) -> CognitoEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CognitoEvent
impl Debug for CognitoEvent
sourceimpl<'de> Deserialize<'de> for CognitoEvent
impl<'de> Deserialize<'de> for CognitoEvent
sourcefn 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
sourceimpl PartialEq<CognitoEvent> for CognitoEvent
impl PartialEq<CognitoEvent> for CognitoEvent
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &CognitoEvent) -> bool
fn ne(&self, other: &CognitoEvent) -> bool
This method tests for !=
.
sourceimpl Serialize for CognitoEvent
impl Serialize for CognitoEvent
impl StructuralPartialEq for CognitoEvent
Auto Trait Implementations
impl RefUnwindSafe for CognitoEvent
impl Send for CognitoEvent
impl Sync for CognitoEvent
impl Unpin for CognitoEvent
impl UnwindSafe for CognitoEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more