#[non_exhaustive]pub struct CommitMessageDescription {
pub is_external: bool,
pub committer: u32,
pub effect: CommitEffect,
pub authenticated_data: Vec<u8>,
}Expand description
Description of a processed MLS commit 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.is_external: boolTrue if this is the result of an external commit.
committer: u32The index in the group state of the member who performed this commit.
effect: CommitEffectA full description of group state changes as a result of this commit.
authenticated_data: Vec<u8>Plaintext authenticated data in the received MLS packet.
Trait Implementations§
Source§impl Clone for CommitMessageDescription
impl Clone for CommitMessageDescription
Source§fn clone(&self) -> CommitMessageDescription
fn clone(&self) -> CommitMessageDescription
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 CommitMessageDescription
impl Debug for CommitMessageDescription
Source§impl From<CommitMessageDescription> for ExternalReceivedMessage
Available on crate feature external_client only.
impl From<CommitMessageDescription> for ExternalReceivedMessage
Available on crate feature
external_client only.Source§fn from(value: CommitMessageDescription) -> Self
fn from(value: CommitMessageDescription) -> Self
Converts to this type from the input type.
Source§impl From<CommitMessageDescription> for ReceivedMessage
impl From<CommitMessageDescription> for ReceivedMessage
Source§fn from(value: CommitMessageDescription) -> Self
fn from(value: CommitMessageDescription) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CommitMessageDescription
impl PartialEq for CommitMessageDescription
impl StructuralPartialEq for CommitMessageDescription
Auto Trait Implementations§
impl Freeze for CommitMessageDescription
impl RefUnwindSafe for CommitMessageDescription
impl Send for CommitMessageDescription
impl Sync for CommitMessageDescription
impl Unpin for CommitMessageDescription
impl UnwindSafe for CommitMessageDescription
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