pub struct AnnotatedCommit {
pub commit: MlsMessage,
pub sender_membership_proof: Option<MembershipProof>,
pub tree_hash_after: SensitiveBytes,
pub resolution_index: Option<u32>,
pub sender_membership_proof_after: MembershipProof,
pub receiver_membership_proof_after: MembershipProof,
}
Available on crate feature
draft-kiefer-mls-light
only.Expand description
struct {
MLSMessage commit;
optional<MembershipProof> sender_membership_proof;
opaque tree_hash_after<V>;
optional<uint32> resolution_index;
MembershipProof sender_membership_proof_after;
MembershipProof receiver_membership_proof_after;
} AnnotatedCommit;
Fields§
§commit: MlsMessage
§sender_membership_proof: Option<MembershipProof>
§tree_hash_after: SensitiveBytes
§resolution_index: Option<u32>
§sender_membership_proof_after: MembershipProof
§receiver_membership_proof_after: MembershipProof
Trait Implementations§
Source§impl Clone for AnnotatedCommit
impl Clone for AnnotatedCommit
Source§fn clone(&self) -> AnnotatedCommit
fn clone(&self) -> AnnotatedCommit
Returns a duplicate 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 AnnotatedCommit
impl Debug for AnnotatedCommit
Source§impl<'de> Deserialize<'de> for AnnotatedCommit
impl<'de> Deserialize<'de> for AnnotatedCommit
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 Deserialize for AnnotatedCommit
impl Deserialize for AnnotatedCommit
Source§fn 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 moreSource§impl PartialEq for AnnotatedCommit
impl PartialEq for AnnotatedCommit
Source§impl Serialize for &AnnotatedCommit
impl Serialize for &AnnotatedCommit
Source§impl Serialize for AnnotatedCommit
impl Serialize for AnnotatedCommit
Source§impl Serialize for AnnotatedCommit
impl Serialize for AnnotatedCommit
Source§impl Size for &AnnotatedCommit
impl Size for &AnnotatedCommit
fn tls_serialized_len(&self) -> usize
Source§impl Size for AnnotatedCommit
impl Size for AnnotatedCommit
fn tls_serialized_len(&self) -> usize
impl Eq for AnnotatedCommit
impl StructuralPartialEq for AnnotatedCommit
Auto Trait Implementations§
impl Freeze for AnnotatedCommit
impl RefUnwindSafe for AnnotatedCommit
impl Send for AnnotatedCommit
impl Sync for AnnotatedCommit
impl Unpin for AnnotatedCommit
impl UnwindSafe for AnnotatedCommit
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