Struct mls_rs::group::ApplicationMessageDescription
source · pub struct ApplicationMessageDescription {
pub sender_index: u32,
pub authenticated_data: Vec<u8>,
/* private fields */
}
Expand description
Description of a MLS application message.
Fields§
§sender_index: u32
Index of this user in the group state.
authenticated_data: Vec<u8>
Plaintext authenticated data in the received MLS packet.
Implementations§
Trait Implementations§
source§impl Clone for ApplicationMessageDescription
impl Clone for ApplicationMessageDescription
source§fn clone(&self) -> ApplicationMessageDescription
fn clone(&self) -> ApplicationMessageDescription
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 PartialEq for ApplicationMessageDescription
impl PartialEq for ApplicationMessageDescription
source§fn eq(&self, other: &ApplicationMessageDescription) -> bool
fn eq(&self, other: &ApplicationMessageDescription) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ApplicationMessageDescription> for ExternalReceivedMessage
Available on crate feature external_client
only.
impl TryFrom<ApplicationMessageDescription> for ExternalReceivedMessage
Available on crate feature
external_client
only.impl Eq for ApplicationMessageDescription
impl StructuralEq for ApplicationMessageDescription
impl StructuralPartialEq for ApplicationMessageDescription
Auto Trait Implementations§
impl RefUnwindSafe for ApplicationMessageDescription
impl Send for ApplicationMessageDescription
impl Sync for ApplicationMessageDescription
impl Unpin for ApplicationMessageDescription
impl UnwindSafe for ApplicationMessageDescription
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more