Struct mls_rs::group::ProposalMessageDescription
source · #[non_exhaustive]pub struct ProposalMessageDescription {
pub sender: ProposalSender,
pub proposal: Proposal,
pub authenticated_data: Vec<u8>,
pub proposal_ref: ProposalRef,
}Expand description
Description of a processed MLS proposal message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sender: ProposalSenderSender of the proposal.
proposal: ProposalProposal content.
authenticated_data: Vec<u8>Plaintext authenticated data in the received MLS packet.
proposal_ref: ProposalRefProposal reference.
Implementations§
source§impl ProposalMessageDescription
impl ProposalMessageDescription
pub fn cached_proposal(self) -> CachedProposal
pub fn proposal_ref(&self) -> Vec<u8> ⓘ
Trait Implementations§
source§impl Clone for ProposalMessageDescription
impl Clone for ProposalMessageDescription
source§fn clone(&self) -> ProposalMessageDescription
fn clone(&self) -> ProposalMessageDescription
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 ProposalMessageDescription
impl Debug for ProposalMessageDescription
source§impl From<ProposalMessageDescription> for ExternalReceivedMessage
Available on crate feature external_client only.
impl From<ProposalMessageDescription> for ExternalReceivedMessage
Available on crate feature
external_client only.source§fn from(value: ProposalMessageDescription) -> Self
fn from(value: ProposalMessageDescription) -> Self
Converts to this type from the input type.
source§impl From<ProposalMessageDescription> for ReceivedMessage
impl From<ProposalMessageDescription> for ReceivedMessage
source§fn from(value: ProposalMessageDescription) -> Self
fn from(value: ProposalMessageDescription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ProposalMessageDescription
impl RefUnwindSafe for ProposalMessageDescription
impl Send for ProposalMessageDescription
impl Sync for ProposalMessageDescription
impl Unpin for ProposalMessageDescription
impl UnwindSafe for ProposalMessageDescription
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