pub struct EncryptedKeyBundleV2(pub [u8; 80]);Expand description
Encrypted-key-bundle wrapper. Newtype so that Option<EncryptedKeyBundleV2>
can derive serde — serde won’t auto-derive Serialize/Deserialize for
Option<[u8; N]> when N > 32. Wire layout is identical to a bare 80-byte
array (BigArray serializes as a flat byte sequence).
Tuple Fields§
§0: [u8; 80]Trait Implementations§
Source§impl Clone for EncryptedKeyBundleV2
impl Clone for EncryptedKeyBundleV2
Source§fn clone(&self) -> EncryptedKeyBundleV2
fn clone(&self) -> EncryptedKeyBundleV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EncryptedKeyBundleV2
impl Debug for EncryptedKeyBundleV2
Source§impl<'de> Deserialize<'de> for EncryptedKeyBundleV2
impl<'de> Deserialize<'de> for EncryptedKeyBundleV2
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 EncryptedKeyBundleV2
impl PartialEq for EncryptedKeyBundleV2
Source§fn eq(&self, other: &EncryptedKeyBundleV2) -> bool
fn eq(&self, other: &EncryptedKeyBundleV2) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EncryptedKeyBundleV2
impl Serialize for EncryptedKeyBundleV2
impl Copy for EncryptedKeyBundleV2
impl Eq for EncryptedKeyBundleV2
impl StructuralPartialEq for EncryptedKeyBundleV2
Auto Trait Implementations§
impl Freeze for EncryptedKeyBundleV2
impl RefUnwindSafe for EncryptedKeyBundleV2
impl Send for EncryptedKeyBundleV2
impl Sync for EncryptedKeyBundleV2
impl Unpin for EncryptedKeyBundleV2
impl UnsafeUnpin for EncryptedKeyBundleV2
impl UnwindSafe for EncryptedKeyBundleV2
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