#[non_exhaustive]pub struct Member {
pub index: u32,
pub signing_identity: SigningIdentity,
pub capabilities: Capabilities,
pub extensions: ExtensionList,
}
Expand description
A member of a MLS group.
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.index: u32
The index of this member within a group.
This value is consistent for all clients and will not change as the group evolves.
signing_identity: SigningIdentity
Current identity public key and credential of this member.
capabilities: Capabilities
Current client Capabilities of this member.
extensions: ExtensionList
Current leaf node extensions in use by this member.
Implementations§
Source§impl Member
impl Member
pub fn new( index: u32, signing_identity: SigningIdentity, capabilities: Capabilities, extensions: ExtensionList, ) -> Self
Trait Implementations§
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnwindSafe for Member
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