pub struct IdentityEnvelope {
pub kid: [u8; 8],
pub sender_pubkey: [u8; 32],
pub nonce: [u8; 24],
pub ciphertext: Vec<u8>,
}Fields§
§kid: [u8; 8]§sender_pubkey: [u8; 32]§nonce: [u8; 24]§ciphertext: Vec<u8>Trait Implementations§
Source§impl Clone for IdentityEnvelope
impl Clone for IdentityEnvelope
Source§fn clone(&self) -> IdentityEnvelope
fn clone(&self) -> IdentityEnvelope
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 IdentityEnvelope
impl Debug for IdentityEnvelope
Source§impl<'de> Deserialize<'de> for IdentityEnvelope
impl<'de> Deserialize<'de> for IdentityEnvelope
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 IdentityEnvelope
impl PartialEq for IdentityEnvelope
Source§impl Serialize for IdentityEnvelope
impl Serialize for IdentityEnvelope
impl Eq for IdentityEnvelope
impl StructuralPartialEq for IdentityEnvelope
Auto Trait Implementations§
impl Freeze for IdentityEnvelope
impl RefUnwindSafe for IdentityEnvelope
impl Send for IdentityEnvelope
impl Sync for IdentityEnvelope
impl Unpin for IdentityEnvelope
impl UnwindSafe for IdentityEnvelope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.