pub enum SettingsFlowState {
ShowForm,
Success,
}Expand description
SettingsFlowState : show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. "please use a valid phone number") data was sent. show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. "please use a valid phone number") data was sent.
Variants§
Trait Implementations§
source§impl Clone for SettingsFlowState
impl Clone for SettingsFlowState
source§fn clone(&self) -> SettingsFlowState
fn clone(&self) -> SettingsFlowState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SettingsFlowState
impl Debug for SettingsFlowState
source§impl<'de> Deserialize<'de> for SettingsFlowState
impl<'de> Deserialize<'de> for SettingsFlowState
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>,
source§impl Hash for SettingsFlowState
impl Hash for SettingsFlowState
source§impl Ord for SettingsFlowState
impl Ord for SettingsFlowState
source§fn cmp(&self, other: &SettingsFlowState) -> Ordering
fn cmp(&self, other: &SettingsFlowState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
source§impl PartialEq<SettingsFlowState> for SettingsFlowState
impl PartialEq<SettingsFlowState> for SettingsFlowState
source§fn eq(&self, other: &SettingsFlowState) -> bool
fn eq(&self, other: &SettingsFlowState) -> bool
self and other values to be equal, and is used
by ==.source§impl PartialOrd<SettingsFlowState> for SettingsFlowState
impl PartialOrd<SettingsFlowState> for SettingsFlowState
source§fn partial_cmp(&self, other: &SettingsFlowState) -> Option<Ordering>
fn partial_cmp(&self, other: &SettingsFlowState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read moresource§impl Serialize for SettingsFlowState
impl Serialize for SettingsFlowState
source§impl ToString for SettingsFlowState
impl ToString for SettingsFlowState
impl Copy for SettingsFlowState
impl Eq for SettingsFlowState
impl StructuralEq for SettingsFlowState
impl StructuralPartialEq for SettingsFlowState
Auto Trait Implementations§
impl RefUnwindSafe for SettingsFlowState
impl Send for SettingsFlowState
impl Sync for SettingsFlowState
impl Unpin for SettingsFlowState
impl UnwindSafe for SettingsFlowState
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
key and return true if they are equal.