Enum mls_rs::identity::x509::SubjectAltName
source · pub enum SubjectAltName {
Email(String),
Uri(String),
Dns(String),
Rid(String),
Ip(String),
}
Expand description
Subject alt name extension values.
Variants§
Trait Implementations§
source§impl Clone for SubjectAltName
impl Clone for SubjectAltName
source§fn clone(&self) -> SubjectAltName
fn clone(&self) -> SubjectAltName
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 SubjectAltName
impl Debug for SubjectAltName
source§impl Hash for SubjectAltName
impl Hash for SubjectAltName
source§impl PartialEq for SubjectAltName
impl PartialEq for SubjectAltName
source§fn eq(&self, other: &SubjectAltName) -> bool
fn eq(&self, other: &SubjectAltName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SubjectAltName
impl StructuralPartialEq for SubjectAltName
Auto Trait Implementations§
impl Freeze for SubjectAltName
impl RefUnwindSafe for SubjectAltName
impl Send for SubjectAltName
impl Sync for SubjectAltName
impl Unpin for SubjectAltName
impl UnwindSafe for SubjectAltName
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
)