#[non_exhaustive]pub enum CognitoEventUserPoolsPreTokenGenTriggerSource {
HostedAuth,
Authentication,
NewPasswordChallenge,
AuthenticateDevice,
RefreshTokens,
}Available on crate feature
cognito only.Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CognitoEventUserPoolsPreTokenGenTriggerSource
impl Clone for CognitoEventUserPoolsPreTokenGenTriggerSource
Source§fn clone(&self) -> CognitoEventUserPoolsPreTokenGenTriggerSource
fn clone(&self) -> CognitoEventUserPoolsPreTokenGenTriggerSource
Returns a duplicate 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 CognitoEventUserPoolsPreTokenGenTriggerSource
impl Default for CognitoEventUserPoolsPreTokenGenTriggerSource
Source§fn default() -> CognitoEventUserPoolsPreTokenGenTriggerSource
fn default() -> CognitoEventUserPoolsPreTokenGenTriggerSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CognitoEventUserPoolsPreTokenGenTriggerSource
impl<'de> Deserialize<'de> for CognitoEventUserPoolsPreTokenGenTriggerSource
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 CognitoEventUserPoolsPreTokenGenTriggerSource
impl PartialEq for CognitoEventUserPoolsPreTokenGenTriggerSource
Source§fn eq(&self, other: &CognitoEventUserPoolsPreTokenGenTriggerSource) -> bool
fn eq(&self, other: &CognitoEventUserPoolsPreTokenGenTriggerSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CognitoEventUserPoolsPreTokenGenTriggerSource
impl StructuralPartialEq for CognitoEventUserPoolsPreTokenGenTriggerSource
Auto Trait Implementations§
impl Freeze for CognitoEventUserPoolsPreTokenGenTriggerSource
impl RefUnwindSafe for CognitoEventUserPoolsPreTokenGenTriggerSource
impl Send for CognitoEventUserPoolsPreTokenGenTriggerSource
impl Sync for CognitoEventUserPoolsPreTokenGenTriggerSource
impl Unpin for CognitoEventUserPoolsPreTokenGenTriggerSource
impl UnwindSafe for CognitoEventUserPoolsPreTokenGenTriggerSource
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