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 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 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§impl PartialOrd for SigningIdentity
impl PartialOrd for SigningIdentity
impl Eq for SigningIdentity
impl StructuralPartialEq for SigningIdentity
Auto Trait Implementations§
impl Freeze for SigningIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more