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