pub struct TwoFactorStartResponse {
pub code: Option<String>,
pub methods: Option<Vec<TwoFactorMethod>>,
pub two_factor_id: Option<String>,
}
Expand description
TwoFactorStartResponse :
Fields§
§code: Option<String>
§methods: Option<Vec<TwoFactorMethod>>
§two_factor_id: Option<String>
Implementations§
Source§impl TwoFactorStartResponse
impl TwoFactorStartResponse
Sourcepub fn new() -> TwoFactorStartResponse
pub fn new() -> TwoFactorStartResponse
Trait Implementations§
Source§impl Clone for TwoFactorStartResponse
impl Clone for TwoFactorStartResponse
Source§fn clone(&self) -> TwoFactorStartResponse
fn clone(&self) -> TwoFactorStartResponse
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 Debug for TwoFactorStartResponse
impl Debug for TwoFactorStartResponse
Source§impl Default for TwoFactorStartResponse
impl Default for TwoFactorStartResponse
Source§fn default() -> TwoFactorStartResponse
fn default() -> TwoFactorStartResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorStartResponse
impl<'de> Deserialize<'de> for TwoFactorStartResponse
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 TwoFactorStartResponse
impl PartialEq for TwoFactorStartResponse
Source§impl Serialize for TwoFactorStartResponse
impl Serialize for TwoFactorStartResponse
impl StructuralPartialEq for TwoFactorStartResponse
Auto Trait Implementations§
impl Freeze for TwoFactorStartResponse
impl RefUnwindSafe for TwoFactorStartResponse
impl Send for TwoFactorStartResponse
impl Sync for TwoFactorStartResponse
impl Unpin for TwoFactorStartResponse
impl UnwindSafe for TwoFactorStartResponse
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