pub struct MasterPasswordUnlockDataModel {
pub kdf_type: KdfType,
pub kdf_iterations: i32,
pub kdf_memory: Option<i32>,
pub kdf_parallelism: Option<i32>,
pub email: Option<String>,
pub master_key_authentication_hash: Option<String>,
pub master_key_encrypted_user_key: Option<String>,
pub master_password_hint: Option<String>,
}
Fields§
§kdf_type: KdfType
§kdf_iterations: i32
§kdf_memory: Option<i32>
§kdf_parallelism: Option<i32>
§email: Option<String>
§master_key_authentication_hash: Option<String>
§master_key_encrypted_user_key: Option<String>
§master_password_hint: Option<String>
Implementations§
Trait Implementations§
Source§impl Clone for MasterPasswordUnlockDataModel
impl Clone for MasterPasswordUnlockDataModel
Source§fn clone(&self) -> MasterPasswordUnlockDataModel
fn clone(&self) -> MasterPasswordUnlockDataModel
Returns a duplicate 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 MasterPasswordUnlockDataModel
impl Default for MasterPasswordUnlockDataModel
Source§fn default() -> MasterPasswordUnlockDataModel
fn default() -> MasterPasswordUnlockDataModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MasterPasswordUnlockDataModel
impl<'de> Deserialize<'de> for MasterPasswordUnlockDataModel
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 MasterPasswordUnlockDataModel
impl PartialEq for MasterPasswordUnlockDataModel
Source§fn eq(&self, other: &MasterPasswordUnlockDataModel) -> bool
fn eq(&self, other: &MasterPasswordUnlockDataModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MasterPasswordUnlockDataModel
Auto Trait Implementations§
impl Freeze for MasterPasswordUnlockDataModel
impl RefUnwindSafe for MasterPasswordUnlockDataModel
impl Send for MasterPasswordUnlockDataModel
impl Sync for MasterPasswordUnlockDataModel
impl Unpin for MasterPasswordUnlockDataModel
impl UnwindSafe for MasterPasswordUnlockDataModel
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