pub struct KeyDerivationInfo {
pub method: KeyDerivationMethod,
pub salt: Vec<u8>,
pub argon2_params: Argon2Params,
pub context: String,
}Expand description
Information about how a key was derived
Fields§
§method: KeyDerivationMethodKey derivation method used
salt: Vec<u8>Salt used for derivation
argon2_params: Argon2ParamsArgon2 parameters used
context: StringContext string used for derivation
Trait Implementations§
Source§impl Clone for KeyDerivationInfo
impl Clone for KeyDerivationInfo
Source§fn clone(&self) -> KeyDerivationInfo
fn clone(&self) -> KeyDerivationInfo
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 KeyDerivationInfo
impl Debug for KeyDerivationInfo
Source§impl<'de> Deserialize<'de> for KeyDerivationInfo
impl<'de> Deserialize<'de> for KeyDerivationInfo
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 KeyDerivationInfo
impl PartialEq for KeyDerivationInfo
Source§impl Serialize for KeyDerivationInfo
impl Serialize for KeyDerivationInfo
impl Eq for KeyDerivationInfo
impl StructuralPartialEq for KeyDerivationInfo
Auto Trait Implementations§
impl Freeze for KeyDerivationInfo
impl RefUnwindSafe for KeyDerivationInfo
impl Send for KeyDerivationInfo
impl Sync for KeyDerivationInfo
impl Unpin for KeyDerivationInfo
impl UnwindSafe for KeyDerivationInfo
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more