pub struct TwoFactorRecoveryRequestModel {
pub master_password_hash: Option<String>,
pub otp: Option<String>,
pub auth_request_access_code: Option<String>,
pub secret: Option<String>,
pub email: String,
pub auth_request_id: Option<String>,
pub sso_email2_fa_session_token: Option<String>,
pub recovery_code: String,
}
Fields§
§master_password_hash: Option<String>
§otp: Option<String>
§auth_request_access_code: Option<String>
§secret: Option<String>
§email: String
§auth_request_id: Option<String>
§sso_email2_fa_session_token: Option<String>
§recovery_code: String
Implementations§
Source§impl TwoFactorRecoveryRequestModel
impl TwoFactorRecoveryRequestModel
pub fn new( email: String, recovery_code: String, ) -> TwoFactorRecoveryRequestModel
Trait Implementations§
Source§impl Clone for TwoFactorRecoveryRequestModel
impl Clone for TwoFactorRecoveryRequestModel
Source§fn clone(&self) -> TwoFactorRecoveryRequestModel
fn clone(&self) -> TwoFactorRecoveryRequestModel
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 Default for TwoFactorRecoveryRequestModel
impl Default for TwoFactorRecoveryRequestModel
Source§fn default() -> TwoFactorRecoveryRequestModel
fn default() -> TwoFactorRecoveryRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorRecoveryRequestModel
impl<'de> Deserialize<'de> for TwoFactorRecoveryRequestModel
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 TwoFactorRecoveryRequestModel
impl PartialEq for TwoFactorRecoveryRequestModel
Source§fn eq(&self, other: &TwoFactorRecoveryRequestModel) -> bool
fn eq(&self, other: &TwoFactorRecoveryRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TwoFactorRecoveryRequestModel
Auto Trait Implementations§
impl Freeze for TwoFactorRecoveryRequestModel
impl RefUnwindSafe for TwoFactorRecoveryRequestModel
impl Send for TwoFactorRecoveryRequestModel
impl Sync for TwoFactorRecoveryRequestModel
impl Unpin for TwoFactorRecoveryRequestModel
impl UnwindSafe for TwoFactorRecoveryRequestModel
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