pub struct CryptoConfig {
pub key: Zeroizing<String>,
pub salt: Zeroizing<Vec<u8>>,
pub iterations: NonZeroU32,
}Fields§
§key: Zeroizing<String>§salt: Zeroizing<Vec<u8>>§iterations: NonZeroU32Trait Implementations§
Source§impl Clone for CryptoConfig
impl Clone for CryptoConfig
Source§fn clone(&self) -> CryptoConfig
fn clone(&self) -> CryptoConfig
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 moreAuto Trait Implementations§
impl Freeze for CryptoConfig
impl RefUnwindSafe for CryptoConfig
impl Send for CryptoConfig
impl Sync for CryptoConfig
impl Unpin for CryptoConfig
impl UnwindSafe for CryptoConfig
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