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