pub struct TwoFactorEmailRequestModel {
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>,
}
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>
Implementations§
Source§impl TwoFactorEmailRequestModel
impl TwoFactorEmailRequestModel
pub fn new(email: String) -> TwoFactorEmailRequestModel
Trait Implementations§
Source§impl Clone for TwoFactorEmailRequestModel
impl Clone for TwoFactorEmailRequestModel
Source§fn clone(&self) -> TwoFactorEmailRequestModel
fn clone(&self) -> TwoFactorEmailRequestModel
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 Debug for TwoFactorEmailRequestModel
impl Debug for TwoFactorEmailRequestModel
Source§impl Default for TwoFactorEmailRequestModel
impl Default for TwoFactorEmailRequestModel
Source§fn default() -> TwoFactorEmailRequestModel
fn default() -> TwoFactorEmailRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TwoFactorEmailRequestModel
impl<'de> Deserialize<'de> for TwoFactorEmailRequestModel
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 StructuralPartialEq for TwoFactorEmailRequestModel
Auto Trait Implementations§
impl Freeze for TwoFactorEmailRequestModel
impl RefUnwindSafe for TwoFactorEmailRequestModel
impl Send for TwoFactorEmailRequestModel
impl Sync for TwoFactorEmailRequestModel
impl Unpin for TwoFactorEmailRequestModel
impl UnwindSafe for TwoFactorEmailRequestModel
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