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.
Implementations
sourceimpl 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
sourceimpl Clone for AddProposal
impl Clone for AddProposal
sourcefn clone(&self) -> AddProposal
fn clone(&self) -> AddProposal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AddProposal
impl Debug for AddProposal
sourceimpl Deserialize for AddProposal
impl Deserialize for AddProposal
sourcefn 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 more
sourceimpl<'de> Deserialize<'de> for AddProposal
impl<'de> Deserialize<'de> for AddProposal
sourcefn 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
sourceimpl PartialEq<AddProposal> for AddProposal
impl PartialEq<AddProposal> for AddProposal
sourcefn eq(&self, other: &AddProposal) -> bool
fn eq(&self, other: &AddProposal) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AddProposal) -> bool
fn ne(&self, other: &AddProposal) -> bool
This method tests for !=
.
sourceimpl Serialize for AddProposal
impl Serialize for AddProposal
sourceimpl Serialize for AddProposal
impl Serialize for AddProposal
sourceimpl Serialize for &AddProposal
impl Serialize for &AddProposal
sourceimpl Size for AddProposal
impl Size for AddProposal
fn tls_serialized_len(&self) -> usize
sourceimpl Size for &AddProposal
impl Size for &AddProposal
fn tls_serialized_len(&self) -> usize
impl StructuralPartialEq for AddProposal
Auto Trait Implementations
impl RefUnwindSafe for AddProposal
impl Send for AddProposal
impl Sync for AddProposal
impl Unpin for AddProposal
impl UnwindSafe for AddProposal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more