pub struct EncryptedInfo {
pub password_salt: Vec<u8>,
pub username_salt: Vec<u8>,
pub cipher_nonce: Vec<u8>,
pub argon2: Argon2,
}Fields§
§password_salt: Vec<u8>§username_salt: Vec<u8>§cipher_nonce: Vec<u8>§argon2: Argon2Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for EncryptedInfo
impl<'__de, __Context> BorrowDecode<'__de, __Context> for EncryptedInfo
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for EncryptedInfo
impl Clone for EncryptedInfo
Source§fn clone(&self) -> EncryptedInfo
fn clone(&self) -> EncryptedInfo
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 EncryptedInfo
impl Debug for EncryptedInfo
Source§impl<__Context> Decode<__Context> for EncryptedInfo
impl<__Context> Decode<__Context> for EncryptedInfo
Source§impl Default for EncryptedInfo
impl Default for EncryptedInfo
Source§fn default() -> EncryptedInfo
fn default() -> EncryptedInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EncryptedInfo
impl RefUnwindSafe for EncryptedInfo
impl Send for EncryptedInfo
impl Sync for EncryptedInfo
impl Unpin for EncryptedInfo
impl UnwindSafe for EncryptedInfo
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