pub struct WireIdentity {
pub client_id: String,
pub thumbprint: String,
pub status: DeviceStatus,
pub credential_type: MlsCredentialType,
pub x509_identity: Option<X509Identity>,
}Expand description
Represents the identity claims identifying a client Those claims are verifiable by any member in the group
Fields§
§client_id: StringUnique client identifier e.g. T4Coy4vdRzianwfOgXpn6A:6add501bacd1d90e@whitehouse.gov
thumbprint: StringMLS thumbprint
status: DeviceStatusStatus of the Credential at the moment T when this object is created
credential_type: MlsCredentialTypeIndicates whether the credential is Basic or X509
x509_identity: Option<X509Identity>In case ‘credential_type’ is MlsCredentialType::X509 this is populated
Trait Implementations§
Source§impl Clone for WireIdentity
impl Clone for WireIdentity
Source§fn clone(&self) -> WireIdentity
fn clone(&self) -> WireIdentity
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 WireIdentity
impl Debug for WireIdentity
Source§impl Ord for WireIdentity
impl Ord for WireIdentity
Source§fn cmp(&self, other: &WireIdentity) -> Ordering
fn cmp(&self, other: &WireIdentity) -> 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 WireIdentity
impl PartialEq for WireIdentity
Source§impl PartialOrd for WireIdentity
impl PartialOrd for WireIdentity
Source§impl<'a> TryFrom<(WireIdentity, &'a [u8])> for WireIdentity
impl<'a> TryFrom<(WireIdentity, &'a [u8])> for WireIdentity
impl Eq for WireIdentity
impl StructuralPartialEq for WireIdentity
Auto Trait Implementations§
impl Freeze for WireIdentity
impl RefUnwindSafe for WireIdentity
impl Send for WireIdentity
impl Sync for WireIdentity
impl Unpin for WireIdentity
impl UnwindSafe for WireIdentity
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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
§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
Compare self to
key and return true if they are equal.§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
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