pub struct PasswordRequestModel {
pub master_password_hash: Option<String>,
pub otp: Option<String>,
pub auth_request_access_code: Option<String>,
pub secret: Option<String>,
pub new_master_password_hash: String,
pub master_password_hint: Option<String>,
pub key: String,
}
Fields§
§master_password_hash: Option<String>
§otp: Option<String>
§auth_request_access_code: Option<String>
§secret: Option<String>
§new_master_password_hash: String
§master_password_hint: Option<String>
§key: String
Implementations§
Source§impl PasswordRequestModel
impl PasswordRequestModel
pub fn new( new_master_password_hash: String, key: String, ) -> PasswordRequestModel
Trait Implementations§
Source§impl Clone for PasswordRequestModel
impl Clone for PasswordRequestModel
Source§fn clone(&self) -> PasswordRequestModel
fn clone(&self) -> PasswordRequestModel
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 PasswordRequestModel
impl Debug for PasswordRequestModel
Source§impl Default for PasswordRequestModel
impl Default for PasswordRequestModel
Source§fn default() -> PasswordRequestModel
fn default() -> PasswordRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PasswordRequestModel
impl<'de> Deserialize<'de> for PasswordRequestModel
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 PasswordRequestModel
impl PartialEq for PasswordRequestModel
Source§impl Serialize for PasswordRequestModel
impl Serialize for PasswordRequestModel
impl StructuralPartialEq for PasswordRequestModel
Auto Trait Implementations§
impl Freeze for PasswordRequestModel
impl RefUnwindSafe for PasswordRequestModel
impl Send for PasswordRequestModel
impl Sync for PasswordRequestModel
impl Unpin for PasswordRequestModel
impl UnwindSafe for PasswordRequestModel
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