pub struct ExportArgon2Params {
pub memory_kib: u32,
pub time_cost: u32,
pub parallelism: u32,
}Expand description
Argon2 parameters used for export encryption
Fields§
§memory_kib: u32Memory size in KiB
time_cost: u32Number of iterations
parallelism: u32Degree of parallelism
Trait Implementations§
Source§impl Clone for ExportArgon2Params
impl Clone for ExportArgon2Params
Source§fn clone(&self) -> ExportArgon2Params
fn clone(&self) -> ExportArgon2Params
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 Debug for ExportArgon2Params
impl Debug for ExportArgon2Params
Source§impl<'de> Deserialize<'de> for ExportArgon2Params
impl<'de> Deserialize<'de> for ExportArgon2Params
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
Auto Trait Implementations§
impl Freeze for ExportArgon2Params
impl RefUnwindSafe for ExportArgon2Params
impl Send for ExportArgon2Params
impl Sync for ExportArgon2Params
impl Unpin for ExportArgon2Params
impl UnwindSafe for ExportArgon2Params
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