Struct rusoto_cognito_idp::ForgotPasswordRequest [−][src]
pub struct ForgotPasswordRequest { pub analytics_metadata: Option<AnalyticsMetadataType>, pub client_id: String, pub secret_hash: Option<String>, pub user_context_data: Option<UserContextDataType>, pub username: String, }
Represents the request to reset a user's password.
Fields
analytics_metadata: Option<AnalyticsMetadataType>
The Amazon Pinpoint analytics metadata for collecting metrics for ForgotPassword
calls.
client_id: String
The ID of the client associated with the user pool.
secret_hash: Option<String>
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
user_context_data: Option<UserContextDataType>
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
username: String
The user name of the user for whom you want to enter a code to reset a forgotten password.
Trait Implementations
impl Default for ForgotPasswordRequest
[src]
impl Default for ForgotPasswordRequest
fn default() -> ForgotPasswordRequest
[src]
fn default() -> ForgotPasswordRequest
Returns the "default value" for a type. Read more
impl Debug for ForgotPasswordRequest
[src]
impl Debug for ForgotPasswordRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ForgotPasswordRequest
[src]
impl Clone for ForgotPasswordRequest
fn clone(&self) -> ForgotPasswordRequest
[src]
fn clone(&self) -> ForgotPasswordRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for ForgotPasswordRequest
[src]
impl PartialEq for ForgotPasswordRequest
fn eq(&self, other: &ForgotPasswordRequest) -> bool
[src]
fn eq(&self, other: &ForgotPasswordRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ForgotPasswordRequest) -> bool
[src]
fn ne(&self, other: &ForgotPasswordRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for ForgotPasswordRequest
impl Send for ForgotPasswordRequest
impl Sync for ForgotPasswordRequest
impl Sync for ForgotPasswordRequest