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