pub struct AssociatedPartyEntry {
pub encryption_key: HpkePublicKey,
pub external_sender_index: SenderIndex,
pub signature: SensitiveBytes,
}
Available on crate feature
draft-kohbrok-mls-associated-parties
only.Fields§
§encryption_key: HpkePublicKey
§external_sender_index: SenderIndex
§signature: SensitiveBytes
Implementations§
Source§impl AssociatedPartyEntry
impl AssociatedPartyEntry
pub fn to_tbs(&self) -> AssociatedPartyEntryTBS<'_>
Finds the related ExternalSender
from the provided GroupContext
.
If this returns None
, then you can safely consider the AssociatedParty to be invalid!
Trait Implementations§
Source§impl Clone for AssociatedPartyEntry
impl Clone for AssociatedPartyEntry
Source§fn clone(&self) -> AssociatedPartyEntry
fn clone(&self) -> AssociatedPartyEntry
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 AssociatedPartyEntry
impl Debug for AssociatedPartyEntry
Source§impl<'de> Deserialize<'de> for AssociatedPartyEntry
impl<'de> Deserialize<'de> for AssociatedPartyEntry
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 AssociatedPartyEntry
impl Deserialize for AssociatedPartyEntry
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 AssociatedPartyEntry
impl PartialEq for AssociatedPartyEntry
Source§impl Serialize for &AssociatedPartyEntry
impl Serialize for &AssociatedPartyEntry
Source§impl Serialize for AssociatedPartyEntry
impl Serialize for AssociatedPartyEntry
Source§impl Serialize for AssociatedPartyEntry
impl Serialize for AssociatedPartyEntry
Source§impl Size for &AssociatedPartyEntry
impl Size for &AssociatedPartyEntry
fn tls_serialized_len(&self) -> usize
Source§impl Size for AssociatedPartyEntry
impl Size for AssociatedPartyEntry
fn tls_serialized_len(&self) -> usize
impl Eq for AssociatedPartyEntry
impl StructuralPartialEq for AssociatedPartyEntry
Auto Trait Implementations§
impl Freeze for AssociatedPartyEntry
impl RefUnwindSafe for AssociatedPartyEntry
impl Send for AssociatedPartyEntry
impl Sync for AssociatedPartyEntry
impl Unpin for AssociatedPartyEntry
impl UnwindSafe for AssociatedPartyEntry
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