Enum mls_rs::group::mls_rules::CommitSource
source · pub enum CommitSource {
ExistingMember(Member),
NewMember(SigningIdentity),
}
Expand description
The source of the commit: either a current member or a new member joining via external commit.
Variants§
ExistingMember(Member)
NewMember(SigningIdentity)
Trait Implementations§
source§impl Clone for CommitSource
impl Clone for CommitSource
source§fn clone(&self) -> CommitSource
fn clone(&self) -> CommitSource
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 CommitSource
impl Debug for CommitSource
source§impl PartialEq for CommitSource
impl PartialEq for CommitSource
source§fn eq(&self, other: &CommitSource) -> bool
fn eq(&self, other: &CommitSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CommitSource
impl StructuralEq for CommitSource
impl StructuralPartialEq for CommitSource
Auto Trait Implementations§
impl RefUnwindSafe for CommitSource
impl Send for CommitSource
impl Sync for CommitSource
impl Unpin for CommitSource
impl UnwindSafe for CommitSource
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more