pub enum VerificationFlowState {
ChooseMethod,
SentEmail,
PassedChallenge,
}Expand description
VerificationFlowState : The state represents the state of the verification flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed. The state represents the state of the verification flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.
Variants§
Trait Implementations§
source§impl Clone for VerificationFlowState
impl Clone for VerificationFlowState
source§fn clone(&self) -> VerificationFlowState
fn clone(&self) -> VerificationFlowState
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 Debug for VerificationFlowState
impl Debug for VerificationFlowState
source§impl<'de> Deserialize<'de> for VerificationFlowState
impl<'de> Deserialize<'de> for VerificationFlowState
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 Hash for VerificationFlowState
impl Hash for VerificationFlowState
source§impl Ord for VerificationFlowState
impl Ord for VerificationFlowState
source§fn cmp(&self, other: &VerificationFlowState) -> Ordering
fn cmp(&self, other: &VerificationFlowState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VerificationFlowState> for VerificationFlowState
impl PartialEq<VerificationFlowState> for VerificationFlowState
source§fn eq(&self, other: &VerificationFlowState) -> bool
fn eq(&self, other: &VerificationFlowState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<VerificationFlowState> for VerificationFlowState
impl PartialOrd<VerificationFlowState> for VerificationFlowState
source§fn partial_cmp(&self, other: &VerificationFlowState) -> Option<Ordering>
fn partial_cmp(&self, other: &VerificationFlowState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for VerificationFlowState
impl Serialize for VerificationFlowState
source§impl ToString for VerificationFlowState
impl ToString for VerificationFlowState
impl Copy for VerificationFlowState
impl Eq for VerificationFlowState
impl StructuralEq for VerificationFlowState
impl StructuralPartialEq for VerificationFlowState
Auto Trait Implementations§
impl RefUnwindSafe for VerificationFlowState
impl Send for VerificationFlowState
impl Sync for VerificationFlowState
impl Unpin for VerificationFlowState
impl UnwindSafe for VerificationFlowState
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.