pub struct Argon2idParams {
pub m_cost: u32,
pub t_cost: u32,
pub p_cost: u32,
pub salt: Vec<u8>,
}Fields§
§m_cost: u32§t_cost: u32§p_cost: u32§salt: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for Argon2idParams
impl Clone for Argon2idParams
Source§fn clone(&self) -> Argon2idParams
fn clone(&self) -> Argon2idParams
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 Argon2idParams
impl Debug for Argon2idParams
Source§impl<'de> Deserialize<'de> for Argon2idParams
impl<'de> Deserialize<'de> for Argon2idParams
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 Argon2idParams
impl RefUnwindSafe for Argon2idParams
impl Send for Argon2idParams
impl Sync for Argon2idParams
impl Unpin for Argon2idParams
impl UnsafeUnpin for Argon2idParams
impl UnwindSafe for Argon2idParams
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