pub struct TwoFALoginRequest {
pub otp: String,
pub session_id: String,
}Expand description
2FA login request
Fields§
§otp: String§session_id: StringTrait Implementations§
Source§impl Clone for TwoFALoginRequest
impl Clone for TwoFALoginRequest
Source§fn clone(&self) -> TwoFALoginRequest
fn clone(&self) -> TwoFALoginRequest
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 TwoFALoginRequest
impl Debug for TwoFALoginRequest
Source§impl<'de> Deserialize<'de> for TwoFALoginRequest
impl<'de> Deserialize<'de> for TwoFALoginRequest
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
Auto Trait Implementations§
impl Freeze for TwoFALoginRequest
impl RefUnwindSafe for TwoFALoginRequest
impl Send for TwoFALoginRequest
impl Sync for TwoFALoginRequest
impl Unpin for TwoFALoginRequest
impl UnsafeUnpin for TwoFALoginRequest
impl UnwindSafe for TwoFALoginRequest
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