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