pub struct HpkeCiphertext {
pub kem_output: Vec<u8>,
pub ciphertext: Vec<u8>,
}Fields§
§kem_output: Vec<u8>Encrypted, shared secret generated for this transaction.
ciphertext: Vec<u8>Encrypted payload.
Trait Implementations§
Source§impl Clone for HpkeCiphertext
impl Clone for HpkeCiphertext
Source§fn clone(&self) -> HpkeCiphertext
fn clone(&self) -> HpkeCiphertext
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 HpkeCiphertext
impl Debug for HpkeCiphertext
Source§impl<'de> Deserialize<'de> for HpkeCiphertext
impl<'de> Deserialize<'de> for HpkeCiphertext
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
impl Eq for HpkeCiphertext
Source§impl PartialEq for HpkeCiphertext
impl PartialEq for HpkeCiphertext
Source§fn eq(&self, other: &HpkeCiphertext) -> bool
fn eq(&self, other: &HpkeCiphertext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HpkeCiphertext
impl Serialize for HpkeCiphertext
impl StructuralPartialEq for HpkeCiphertext
Auto Trait Implementations§
impl Freeze for HpkeCiphertext
impl RefUnwindSafe for HpkeCiphertext
impl Send for HpkeCiphertext
impl Sync for HpkeCiphertext
impl Unpin for HpkeCiphertext
impl UnsafeUnpin for HpkeCiphertext
impl UnwindSafe for HpkeCiphertext
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