pub struct E2EEnvelope {
pub _e2e: u8,
pub ct: String,
pub iv: String,
pub v: u8,
}Expand description
E2E encrypted envelope that flows through CLASP as a normal map value.
Fields§
§_e2e: u8Marker field, always 1.
ct: StringBase64-encoded ciphertext.
iv: StringBase64-encoded IV (12 bytes for AES-GCM).
v: u8Envelope version.
Trait Implementations§
Source§impl Clone for E2EEnvelope
impl Clone for E2EEnvelope
Source§fn clone(&self) -> E2EEnvelope
fn clone(&self) -> E2EEnvelope
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 E2EEnvelope
impl Debug for E2EEnvelope
Source§impl<'de> Deserialize<'de> for E2EEnvelope
impl<'de> Deserialize<'de> for E2EEnvelope
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 E2EEnvelope
impl RefUnwindSafe for E2EEnvelope
impl Send for E2EEnvelope
impl Sync for E2EEnvelope
impl Unpin for E2EEnvelope
impl UnsafeUnpin for E2EEnvelope
impl UnwindSafe for E2EEnvelope
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