pub struct CognitoEventUserPoolsCustomMessageRequest<T1 = Value>where
T1: DeserializeOwned + Serialize,{
pub user_attributes: HashMap<String, T1>,
pub code_parameter: Option<String>,
pub username_parameter: Option<String>,
pub client_metadata: HashMap<String, String>,
}
Expand description
CognitoEventUserPoolsCustomMessageRequest
contains the request portion of a CustomMessage event
Fields§
§user_attributes: HashMap<String, T1>
§code_parameter: Option<String>
§username_parameter: Option<String>
§client_metadata: HashMap<String, String>
Trait Implementations§
source§impl<T1> Clone for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> Clone for CognitoEventUserPoolsCustomMessageRequest<T1>
source§fn clone(&self) -> CognitoEventUserPoolsCustomMessageRequest<T1>
fn clone(&self) -> CognitoEventUserPoolsCustomMessageRequest<T1>
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<T1> Debug for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> Debug for CognitoEventUserPoolsCustomMessageRequest<T1>
source§impl<T1> Default for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> Default for CognitoEventUserPoolsCustomMessageRequest<T1>
source§fn default() -> CognitoEventUserPoolsCustomMessageRequest<T1>
fn default() -> CognitoEventUserPoolsCustomMessageRequest<T1>
Returns the “default value” for a type. Read more
source§impl<'de, T1> Deserialize<'de> for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<'de, T1> Deserialize<'de> for CognitoEventUserPoolsCustomMessageRequest<T1>
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<T1> PartialEq for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> PartialEq for CognitoEventUserPoolsCustomMessageRequest<T1>
source§fn eq(&self, other: &CognitoEventUserPoolsCustomMessageRequest<T1>) -> bool
fn eq(&self, other: &CognitoEventUserPoolsCustomMessageRequest<T1>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T1> Serialize for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Serialize for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: DeserializeOwned + Serialize,
impl<T1> Eq for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> StructuralPartialEq for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: DeserializeOwned + Serialize,
Auto Trait Implementations§
impl<T1> Freeze for CognitoEventUserPoolsCustomMessageRequest<T1>
impl<T1> RefUnwindSafe for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: RefUnwindSafe,
impl<T1> Send for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: Send,
impl<T1> Sync for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: Sync,
impl<T1> Unpin for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: Unpin,
impl<T1> UnwindSafe for CognitoEventUserPoolsCustomMessageRequest<T1>where
T1: 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