Struct mls_rs_core::group::Member
source · pub struct Member { /* private fields */ }Expand description
A member of a MLS group.
Implementations§
source§impl Member
impl Member
pub fn new( index: u32, signing_identity: SigningIdentity, capabilities: Capabilities, extensions: ExtensionList ) -> Self
sourcepub fn index(&self) -> u32
pub fn index(&self) -> u32
The index of this member within a group.
This value is consistent for all clients and will not change as the group evolves.
sourcepub fn signing_identity(&self) -> &SigningIdentity
pub fn signing_identity(&self) -> &SigningIdentity
Current identity public key and credential of this member.
sourcepub fn capabilities(&self) -> &Capabilities
pub fn capabilities(&self) -> &Capabilities
Current client Capabilities of this member.
sourcepub fn extensions(&self) -> &ExtensionList
pub fn extensions(&self) -> &ExtensionList
Current leaf node extensions in use by this member.
Trait Implementations§
source§impl PartialEq for Member
impl PartialEq for Member
impl Eq for Member
impl StructuralEq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
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