pub struct KeyDerivationConfig {
pub algorithm: KeyDerivationAlgorithm,
pub iterations: u32,
pub salt_length: usize,
pub key_length: usize,
}Expand description
Key derivation configuration
Fields§
§algorithm: KeyDerivationAlgorithm§iterations: u32§salt_length: usize§key_length: usizeTrait Implementations§
Source§impl Clone for KeyDerivationConfig
impl Clone for KeyDerivationConfig
Source§fn clone(&self) -> KeyDerivationConfig
fn clone(&self) -> KeyDerivationConfig
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 KeyDerivationConfig
impl Debug for KeyDerivationConfig
Source§impl Default for KeyDerivationConfig
impl Default for KeyDerivationConfig
Source§impl<'de> Deserialize<'de> for KeyDerivationConfig
impl<'de> Deserialize<'de> for KeyDerivationConfig
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 KeyDerivationConfig
impl RefUnwindSafe for KeyDerivationConfig
impl Send for KeyDerivationConfig
impl Sync for KeyDerivationConfig
impl Unpin for KeyDerivationConfig
impl UnwindSafe for KeyDerivationConfig
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