pub struct KdfParams {
pub algorithm: String,
pub m_cost: u32,
pub t_cost: u32,
pub p_cost: u32,
pub salt: String,
}Fields§
§algorithm: String§m_cost: u32§t_cost: u32§p_cost: u32§salt: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for KdfParams
impl<'de> Deserialize<'de> for KdfParams
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 KdfParams
impl RefUnwindSafe for KdfParams
impl Send for KdfParams
impl Sync for KdfParams
impl Unpin for KdfParams
impl UnsafeUnpin for KdfParams
impl UnwindSafe for KdfParams
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