Struct openmls::messages::proposals::UpdateProposal
source · pub struct UpdateProposal { /* private fields */ }
Expand description
Update Proposal.
An Update proposal is a similar mechanism to AddProposal
with the distinction that it
replaces the sender’s LeafNode
in the tree instead of adding a new leaf to the tree.
// draft-ietf-mls-protocol-17
struct {
LeafNode leaf_node;
} Update;
Implementations§
Trait Implementations§
source§impl Clone for UpdateProposal
impl Clone for UpdateProposal
source§fn clone(&self) -> UpdateProposal
fn clone(&self) -> UpdateProposal
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 UpdateProposal
impl Debug for UpdateProposal
source§impl<'de> Deserialize<'de> for UpdateProposal
impl<'de> Deserialize<'de> for UpdateProposal
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<UpdateProposal> for UpdateProposalIn
impl From<UpdateProposal> for UpdateProposalIn
source§fn from(value: UpdateProposal) -> Self
fn from(value: UpdateProposal) -> Self
Converts to this type from the input type.
source§impl PartialEq<UpdateProposal> for UpdateProposal
impl PartialEq<UpdateProposal> for UpdateProposal
source§fn eq(&self, other: &UpdateProposal) -> bool
fn eq(&self, other: &UpdateProposal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for &UpdateProposal
impl Serialize for &UpdateProposal
source§impl Serialize for UpdateProposal
impl Serialize for UpdateProposal
source§impl Serialize for UpdateProposal
impl Serialize for UpdateProposal
source§impl Size for &UpdateProposal
impl Size for &UpdateProposal
fn tls_serialized_len(&self) -> usize
source§impl Size for UpdateProposal
impl Size for UpdateProposal
fn tls_serialized_len(&self) -> usize
impl Eq for UpdateProposal
impl StructuralEq for UpdateProposal
impl StructuralPartialEq for UpdateProposal
Auto Trait Implementations§
impl RefUnwindSafe for UpdateProposal
impl Send for UpdateProposal
impl Sync for UpdateProposal
impl Unpin for UpdateProposal
impl UnwindSafe for UpdateProposal
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