pub struct KdfRequestModel {
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,
pub kdf: KdfType,
pub kdf_iterations: i32,
pub kdf_memory: Option<i32>,
pub kdf_parallelism: Option<i32>,
}
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
§kdf: KdfType
§kdf_iterations: i32
§kdf_memory: Option<i32>
§kdf_parallelism: Option<i32>
Implementations§
Trait Implementations§
Source§impl Clone for KdfRequestModel
impl Clone for KdfRequestModel
Source§fn clone(&self) -> KdfRequestModel
fn clone(&self) -> KdfRequestModel
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 KdfRequestModel
impl Debug for KdfRequestModel
Source§impl Default for KdfRequestModel
impl Default for KdfRequestModel
Source§fn default() -> KdfRequestModel
fn default() -> KdfRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KdfRequestModel
impl<'de> Deserialize<'de> for KdfRequestModel
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 KdfRequestModel
impl PartialEq for KdfRequestModel
Source§impl Serialize for KdfRequestModel
impl Serialize for KdfRequestModel
impl StructuralPartialEq for KdfRequestModel
Auto Trait Implementations§
impl Freeze for KdfRequestModel
impl RefUnwindSafe for KdfRequestModel
impl Send for KdfRequestModel
impl Sync for KdfRequestModel
impl Unpin for KdfRequestModel
impl UnwindSafe for KdfRequestModel
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