pub struct EncryptedSecret {
pub salt: [u8; 16],
pub nonce: [u8; 24],
pub ciphertext: Vec<u8>,
}Fields§
§salt: [u8; 16]§nonce: [u8; 24]§ciphertext: Vec<u8>Trait Implementations§
Source§impl Clone for EncryptedSecret
impl Clone for EncryptedSecret
Source§fn clone(&self) -> EncryptedSecret
fn clone(&self) -> EncryptedSecret
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 EncryptedSecret
impl Debug for EncryptedSecret
Source§impl<'de> Deserialize<'de> for EncryptedSecret
impl<'de> Deserialize<'de> for EncryptedSecret
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 EncryptedSecret
impl PartialEq for EncryptedSecret
Source§impl Serialize for EncryptedSecret
impl Serialize for EncryptedSecret
impl Eq for EncryptedSecret
impl StructuralPartialEq for EncryptedSecret
Auto Trait Implementations§
impl Freeze for EncryptedSecret
impl RefUnwindSafe for EncryptedSecret
impl Send for EncryptedSecret
impl Sync for EncryptedSecret
impl Unpin for EncryptedSecret
impl UnsafeUnpin for EncryptedSecret
impl UnwindSafe for EncryptedSecret
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