pub enum RegistrationFlowState {
ChooseMethod,
SentEmail,
PassedChallenge,
}Expand description
RegistrationFlowState : choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed. choose_method: ask the user to choose a method (e.g. registration with email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the registration challenge was passed.
Variants§
Trait Implementations§
source§impl Clone for RegistrationFlowState
impl Clone for RegistrationFlowState
source§fn clone(&self) -> RegistrationFlowState
fn clone(&self) -> RegistrationFlowState
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 RegistrationFlowState
impl Debug for RegistrationFlowState
source§impl<'de> Deserialize<'de> for RegistrationFlowState
impl<'de> Deserialize<'de> for RegistrationFlowState
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 RegistrationFlowState
impl Hash for RegistrationFlowState
source§impl Ord for RegistrationFlowState
impl Ord for RegistrationFlowState
source§fn cmp(&self, other: &RegistrationFlowState) -> Ordering
fn cmp(&self, other: &RegistrationFlowState) -> 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<RegistrationFlowState> for RegistrationFlowState
impl PartialEq<RegistrationFlowState> for RegistrationFlowState
source§fn eq(&self, other: &RegistrationFlowState) -> bool
fn eq(&self, other: &RegistrationFlowState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<RegistrationFlowState> for RegistrationFlowState
impl PartialOrd<RegistrationFlowState> for RegistrationFlowState
source§fn partial_cmp(&self, other: &RegistrationFlowState) -> Option<Ordering>
fn partial_cmp(&self, other: &RegistrationFlowState) -> 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 RegistrationFlowState
impl Serialize for RegistrationFlowState
source§impl ToString for RegistrationFlowState
impl ToString for RegistrationFlowState
impl Copy for RegistrationFlowState
impl Eq for RegistrationFlowState
impl StructuralEq for RegistrationFlowState
impl StructuralPartialEq for RegistrationFlowState
Auto Trait Implementations§
impl RefUnwindSafe for RegistrationFlowState
impl Send for RegistrationFlowState
impl Sync for RegistrationFlowState
impl Unpin for RegistrationFlowState
impl UnwindSafe for RegistrationFlowState
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
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.