Enum mls_rs::identity::x509::SubjectComponent
source · pub enum SubjectComponent {
Show 18 variants
CommonName(String),
Surname(String),
SerialNumber(String),
CountryName(String),
Locality(String),
State(String),
StreetAddress(String),
OrganizationName(String),
OrganizationalUnit(String),
Title(String),
GivenName(String),
EmailAddress(String),
UserId(String),
DomainComponent(String),
Initials(String),
GenerationQualifier(String),
DistinguishedNameQualifier(String),
Pseudonym(String),
}
Expand description
X.509 name components.
Variants§
CommonName(String)
Surname(String)
SerialNumber(String)
CountryName(String)
Locality(String)
State(String)
StreetAddress(String)
OrganizationName(String)
OrganizationalUnit(String)
Title(String)
GivenName(String)
EmailAddress(String)
UserId(String)
DomainComponent(String)
Initials(String)
GenerationQualifier(String)
DistinguishedNameQualifier(String)
Pseudonym(String)
Trait Implementations§
source§impl Clone for SubjectComponent
impl Clone for SubjectComponent
source§fn clone(&self) -> SubjectComponent
fn clone(&self) -> SubjectComponent
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 SubjectComponent
impl Debug for SubjectComponent
source§impl Hash for SubjectComponent
impl Hash for SubjectComponent
source§impl PartialEq for SubjectComponent
impl PartialEq for SubjectComponent
source§fn eq(&self, other: &SubjectComponent) -> bool
fn eq(&self, other: &SubjectComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SubjectComponent
impl StructuralPartialEq for SubjectComponent
Auto Trait Implementations§
impl Freeze for SubjectComponent
impl RefUnwindSafe for SubjectComponent
impl Send for SubjectComponent
impl Sync for SubjectComponent
impl Unpin for SubjectComponent
impl UnwindSafe for SubjectComponent
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)