Struct mls_rs::identity::SigningIdentity
source · pub struct SigningIdentity {
pub signature_key: SignaturePublicKey,
pub credential: Credential,
}Expand description
MLS group member identity represented as a combination of a
public SignaturePublicKey and Credential.
Fields§
§signature_key: SignaturePublicKey§credential: CredentialImplementations§
source§impl SigningIdentity
impl SigningIdentity
sourcepub fn new(
credential: Credential,
signature_key: SignaturePublicKey
) -> SigningIdentity
pub fn new( credential: Credential, signature_key: SignaturePublicKey ) -> SigningIdentity
Create a new signing identity from credential and signature_key
Trait Implementations§
source§impl Clone for SigningIdentity
impl Clone for SigningIdentity
source§fn clone(&self) -> SigningIdentity
fn clone(&self) -> SigningIdentity
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 SigningIdentity
impl Debug for SigningIdentity
source§impl Hash for SigningIdentity
impl Hash for SigningIdentity
source§impl MlsDecode for SigningIdentity
impl MlsDecode for SigningIdentity
fn mls_decode(reader: &mut &[u8]) -> Result<SigningIdentity, Error>
source§impl MlsEncode for SigningIdentity
impl MlsEncode for SigningIdentity
source§impl MlsSize for SigningIdentity
impl MlsSize for SigningIdentity
fn mls_encoded_len(&self) -> usize
source§impl Ord for SigningIdentity
impl Ord for SigningIdentity
source§fn cmp(&self, other: &SigningIdentity) -> Ordering
fn cmp(&self, other: &SigningIdentity) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SigningIdentity
impl PartialEq for SigningIdentity
source§fn eq(&self, other: &SigningIdentity) -> bool
fn eq(&self, other: &SigningIdentity) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for SigningIdentity
impl PartialOrd for SigningIdentity
source§fn partial_cmp(&self, other: &SigningIdentity) -> Option<Ordering>
fn partial_cmp(&self, other: &SigningIdentity) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for SigningIdentity
impl StructuralEq for SigningIdentity
impl StructuralPartialEq for SigningIdentity
Auto Trait Implementations§
impl RefUnwindSafe for SigningIdentity
impl Send for SigningIdentity
impl Sync for SigningIdentity
impl Unpin for SigningIdentity
impl UnwindSafe for SigningIdentity
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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more