pub struct EncryptedKey {
pub ciphertext: Vec<u8>,
pub nonce: Vec<u8>,
}Expand description
Encrypted key (encrypted with project key)
Fields§
§ciphertext: Vec<u8>§nonce: Vec<u8>Trait Implementations§
Source§impl Clone for EncryptedKey
impl Clone for EncryptedKey
Source§fn clone(&self) -> EncryptedKey
fn clone(&self) -> EncryptedKey
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncryptedKey
impl Debug for EncryptedKey
Source§impl<'de> Deserialize<'de> for EncryptedKey
impl<'de> Deserialize<'de> for EncryptedKey
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 EncryptedKey
impl RefUnwindSafe for EncryptedKey
impl Send for EncryptedKey
impl Sync for EncryptedKey
impl Unpin for EncryptedKey
impl UnwindSafe for EncryptedKey
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