pub struct SemiPrivateMessage {
pub group_id: GroupId,
pub epoch: Epoch,
pub content_type: ContentType,
pub authenticated_data: SensitiveBytes,
pub partial_context_hash: SensitiveBytes,
pub keys_for_external_receivers: Vec<KeyForExternalReceiver>,
pub framed_content_tbs_hash: SensitiveBytes,
pub encrypted_sender_data: SensitiveBytes,
pub ciphertext: SensitiveBytes,
}
Available on crate feature
draft-mahy-mls-semiprivatemessage
only.Fields§
§group_id: GroupId
§epoch: Epoch
§content_type: ContentType
§authenticated_data: SensitiveBytes
§partial_context_hash: SensitiveBytes
§keys_for_external_receivers: Vec<KeyForExternalReceiver>
§framed_content_tbs_hash: SensitiveBytes
§encrypted_sender_data: SensitiveBytes
§ciphertext: SensitiveBytes
Trait Implementations§
Source§impl Clone for SemiPrivateMessage
impl Clone for SemiPrivateMessage
Source§fn clone(&self) -> SemiPrivateMessage
fn clone(&self) -> SemiPrivateMessage
Returns a copy 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 SemiPrivateMessage
impl Debug for SemiPrivateMessage
Source§impl<'de> Deserialize<'de> for SemiPrivateMessage
impl<'de> Deserialize<'de> for SemiPrivateMessage
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 SemiPrivateMessage
impl Deserialize for SemiPrivateMessage
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 SemiPrivateMessage
impl PartialEq for SemiPrivateMessage
Source§impl Serialize for &SemiPrivateMessage
impl Serialize for &SemiPrivateMessage
Source§impl Serialize for SemiPrivateMessage
impl Serialize for SemiPrivateMessage
Source§impl Serialize for SemiPrivateMessage
impl Serialize for SemiPrivateMessage
Source§impl Size for &SemiPrivateMessage
impl Size for &SemiPrivateMessage
fn tls_serialized_len(&self) -> usize
Source§impl Size for SemiPrivateMessage
impl Size for SemiPrivateMessage
fn tls_serialized_len(&self) -> usize
impl Eq for SemiPrivateMessage
impl StructuralPartialEq for SemiPrivateMessage
Auto Trait Implementations§
impl Freeze for SemiPrivateMessage
impl RefUnwindSafe for SemiPrivateMessage
impl Send for SemiPrivateMessage
impl Sync for SemiPrivateMessage
impl Unpin for SemiPrivateMessage
impl UnwindSafe for SemiPrivateMessage
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