pub struct CognitoEventUserPoolsChallengeResult {
pub challenge_name: Option<String>,
pub challenge_result: bool,
pub challenge_metadata: Option<String>,
}
Expand description
CognitoEventUserPoolsChallengeResult
represents a challenge that is presented to the user in the authentication
process that is underway, along with the corresponding result.
Fields§
§challenge_name: Option<String>
§challenge_result: bool
§challenge_metadata: Option<String>
Trait Implementations§
source§impl Clone for CognitoEventUserPoolsChallengeResult
impl Clone for CognitoEventUserPoolsChallengeResult
source§fn clone(&self) -> CognitoEventUserPoolsChallengeResult
fn clone(&self) -> CognitoEventUserPoolsChallengeResult
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 Default for CognitoEventUserPoolsChallengeResult
impl Default for CognitoEventUserPoolsChallengeResult
source§fn default() -> CognitoEventUserPoolsChallengeResult
fn default() -> CognitoEventUserPoolsChallengeResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CognitoEventUserPoolsChallengeResult
impl<'de> Deserialize<'de> for CognitoEventUserPoolsChallengeResult
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 CognitoEventUserPoolsChallengeResult
impl PartialEq for CognitoEventUserPoolsChallengeResult
source§fn eq(&self, other: &CognitoEventUserPoolsChallengeResult) -> bool
fn eq(&self, other: &CognitoEventUserPoolsChallengeResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CognitoEventUserPoolsChallengeResult
impl StructuralPartialEq for CognitoEventUserPoolsChallengeResult
Auto Trait Implementations§
impl Freeze for CognitoEventUserPoolsChallengeResult
impl RefUnwindSafe for CognitoEventUserPoolsChallengeResult
impl Send for CognitoEventUserPoolsChallengeResult
impl Sync for CognitoEventUserPoolsChallengeResult
impl Unpin for CognitoEventUserPoolsChallengeResult
impl UnwindSafe for CognitoEventUserPoolsChallengeResult
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