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
Basic(BasicCredential)
X509(Certificate)
An X.509 Certificate
Trait Implementations
sourceimpl Clone for MlsCredentialType
impl Clone for MlsCredentialType
sourcefn clone(&self) -> MlsCredentialType
fn clone(&self) -> MlsCredentialType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for MlsCredentialType
impl Debug for MlsCredentialType
sourceimpl<'de> Deserialize<'de> for MlsCredentialType
impl<'de> Deserialize<'de> for MlsCredentialType
sourcefn 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
sourceimpl From<MlsCredentialType> for Credential
impl From<MlsCredentialType> for Credential
sourcefn from(mls_credential_type: MlsCredentialType) -> Self
fn from(mls_credential_type: MlsCredentialType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<MlsCredentialType> for MlsCredentialType
impl PartialEq<MlsCredentialType> for MlsCredentialType
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &MlsCredentialType) -> bool
fn ne(&self, other: &MlsCredentialType) -> bool
This method tests for !=
.
sourceimpl Serialize for MlsCredentialType
impl Serialize 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more