pub struct AddProposal { /* private fields */ }
Expand description
Add Proposal.
An Add proposal requests that a client with a specified KeyPackage
be
added to the group.
// draft-ietf-mls-protocol-17
struct {
KeyPackage key_package;
} Add;
Implementations§
Source§impl AddProposal
impl AddProposal
Sourcepub fn key_package(&self) -> &KeyPackage
pub fn key_package(&self) -> &KeyPackage
Returns a reference to the key package in the proposal.
Trait Implementations§
Source§impl Clone for AddProposal
impl Clone for AddProposal
Source§fn clone(&self) -> AddProposal
fn clone(&self) -> AddProposal
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 AddProposal
impl Debug for AddProposal
Source§impl<'de> Deserialize<'de> for AddProposal
impl<'de> Deserialize<'de> for AddProposal
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 From<AddProposal> for AddProposalIn
impl From<AddProposal> for AddProposalIn
Source§fn from(value: AddProposal) -> Self
fn from(value: AddProposal) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddProposal
impl PartialEq for AddProposal
Source§impl Serialize for &AddProposal
impl Serialize for &AddProposal
Source§impl Serialize for AddProposal
impl Serialize for AddProposal
Source§impl Serialize for AddProposal
impl Serialize for AddProposal
Source§impl Size for &AddProposal
impl Size for &AddProposal
fn tls_serialized_len(&self) -> usize
Source§impl Size for AddProposal
impl Size for AddProposal
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for AddProposal
Auto Trait Implementations§
impl Freeze for AddProposal
impl RefUnwindSafe for AddProposal
impl Send for AddProposal
impl Sync for AddProposal
impl Unpin for AddProposal
impl UnwindSafe for AddProposal
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