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