pub struct TwoStepMethods {
pub is_user_verified: bool,
pub primary: Option<TwoStepMethodType>,
pub methods: Vec<TwoStepMethodType>,
}Fields§
§is_user_verified: bool§primary: Option<TwoStepMethodType>§methods: Vec<TwoStepMethodType>Trait Implementations§
Source§impl Clone for TwoStepMethods
impl Clone for TwoStepMethods
Source§fn clone(&self) -> TwoStepMethods
fn clone(&self) -> TwoStepMethods
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TwoStepMethods
impl Debug for TwoStepMethods
Source§impl<'de> Deserialize<'de> for TwoStepMethods
impl<'de> Deserialize<'de> for TwoStepMethods
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
impl Eq for TwoStepMethods
Source§impl PartialEq for TwoStepMethods
impl PartialEq for TwoStepMethods
Source§fn eq(&self, other: &TwoStepMethods) -> bool
fn eq(&self, other: &TwoStepMethods) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TwoStepMethods
impl Serialize for TwoStepMethods
impl StructuralPartialEq for TwoStepMethods
Auto Trait Implementations§
impl Freeze for TwoStepMethods
impl RefUnwindSafe for TwoStepMethods
impl Send for TwoStepMethods
impl Sync for TwoStepMethods
impl Unpin for TwoStepMethods
impl UnsafeUnpin for TwoStepMethods
impl UnwindSafe for TwoStepMethods
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