Enum openmls::credentials::MlsCredentialType
source · pub enum MlsCredentialType {
Basic(BasicCredential),
X509(Certificate),
}
Expand description
MlsCredentialType.
This enum contains variants containing the different available credentials.
Variants§
Trait Implementations§
source§impl Clone for MlsCredentialType
impl Clone for MlsCredentialType
source§fn clone(&self) -> MlsCredentialType
fn clone(&self) -> MlsCredentialType
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 MlsCredentialType
impl Debug for MlsCredentialType
source§impl<'de> Deserialize<'de> for MlsCredentialType
impl<'de> Deserialize<'de> for MlsCredentialType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<MlsCredentialType> for Credential
impl From<MlsCredentialType> for Credential
source§fn from(mls_credential_type: MlsCredentialType) -> Self
fn from(mls_credential_type: MlsCredentialType) -> Self
Converts to this type from the input type.
source§impl PartialEq<MlsCredentialType> for MlsCredentialType
impl PartialEq<MlsCredentialType> for MlsCredentialType
source§fn eq(&self, other: &MlsCredentialType) -> bool
fn eq(&self, other: &MlsCredentialType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MlsCredentialType
impl Serialize for MlsCredentialType
impl Eq for MlsCredentialType
impl StructuralEq for MlsCredentialType
impl StructuralPartialEq for MlsCredentialType
Auto Trait Implementations§
impl RefUnwindSafe for MlsCredentialType
impl Send for MlsCredentialType
impl Sync for MlsCredentialType
impl Unpin for MlsCredentialType
impl UnwindSafe for MlsCredentialType
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