pub struct TargetedMessageContent {
pub application_data: Vec<u8>,
pub padding_len: usize,
}Available on crate feature
draft-ietf-mls-targeted-messages only.Fields§
§application_data: Vec<u8>§padding_len: usizeTrait Implementations§
Source§impl Clone for TargetedMessageContent
impl Clone for TargetedMessageContent
Source§fn clone(&self) -> TargetedMessageContent
fn clone(&self) -> TargetedMessageContent
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 TargetedMessageContent
impl Debug for TargetedMessageContent
Source§impl<'de> Deserialize<'de> for TargetedMessageContent
impl<'de> Deserialize<'de> for TargetedMessageContent
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 TargetedMessageContent
impl Deserialize for TargetedMessageContent
Source§fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>where
Self: Sized,
fn tls_deserialize<R: Read>(bytes: &mut R) -> Result<Self, Error>where
Self: Sized,
Available on crate feature
std only.This function deserializes the
bytes from the provided a std::io::Read
and returns the populated struct. Read moreSource§impl PartialEq for TargetedMessageContent
impl PartialEq for TargetedMessageContent
Source§impl Serialize for TargetedMessageContent
impl Serialize for TargetedMessageContent
Source§impl Serialize for TargetedMessageContent
impl Serialize for TargetedMessageContent
Source§impl Size for TargetedMessageContent
impl Size for TargetedMessageContent
fn tls_serialized_len(&self) -> usize
impl Eq for TargetedMessageContent
impl StructuralPartialEq for TargetedMessageContent
Auto Trait Implementations§
impl Freeze for TargetedMessageContent
impl RefUnwindSafe for TargetedMessageContent
impl Send for TargetedMessageContent
impl Sync for TargetedMessageContent
impl Unpin for TargetedMessageContent
impl UnsafeUnpin for TargetedMessageContent
impl UnwindSafe for TargetedMessageContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more