pub struct PrivateMessageWithoutAad {
pub group_id: GroupId,
pub epoch: Epoch,
pub content_type: ContentType,
pub encrypted_sender_data: SensitiveBytes,
pub ciphertext: SensitiveBytes,
}
Available on crate feature
draft-pham-mls-additional-wire-formats
only.Fields§
§group_id: GroupId
§epoch: Epoch
§content_type: ContentType
§encrypted_sender_data: SensitiveBytes
§ciphertext: SensitiveBytes
Trait Implementations§
Source§impl Clone for PrivateMessageWithoutAad
impl Clone for PrivateMessageWithoutAad
Source§fn clone(&self) -> PrivateMessageWithoutAad
fn clone(&self) -> PrivateMessageWithoutAad
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 PrivateMessageWithoutAad
impl Debug for PrivateMessageWithoutAad
Source§impl<'de> Deserialize<'de> for PrivateMessageWithoutAad
impl<'de> Deserialize<'de> for PrivateMessageWithoutAad
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 Deserialize for PrivateMessageWithoutAad
impl Deserialize for PrivateMessageWithoutAad
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>
This function deserializes the
bytes
from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl PartialEq for PrivateMessageWithoutAad
impl PartialEq for PrivateMessageWithoutAad
Source§impl Serialize for &PrivateMessageWithoutAad
impl Serialize for &PrivateMessageWithoutAad
Source§impl Serialize for PrivateMessageWithoutAad
impl Serialize for PrivateMessageWithoutAad
Source§impl Serialize for PrivateMessageWithoutAad
impl Serialize for PrivateMessageWithoutAad
Source§impl Size for &PrivateMessageWithoutAad
impl Size for &PrivateMessageWithoutAad
fn tls_serialized_len(&self) -> usize
Source§impl Size for PrivateMessageWithoutAad
impl Size for PrivateMessageWithoutAad
fn tls_serialized_len(&self) -> usize
impl Eq for PrivateMessageWithoutAad
impl StructuralPartialEq for PrivateMessageWithoutAad
Auto Trait Implementations§
impl Freeze for PrivateMessageWithoutAad
impl RefUnwindSafe for PrivateMessageWithoutAad
impl Send for PrivateMessageWithoutAad
impl Sync for PrivateMessageWithoutAad
impl Unpin for PrivateMessageWithoutAad
impl UnwindSafe for PrivateMessageWithoutAad
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