Struct c509_certificate::extensions::alt_name::AlternativeName
source · pub struct AlternativeName(GeneralNamesOrText);
Expand description
Alternative Name extension.
Can be interpreted as a GeneralNames / text
Tuple Fields§
§0: GeneralNamesOrText
Implementations§
source§impl AlternativeName
impl AlternativeName
sourcepub fn new(value: GeneralNamesOrText) -> Self
pub fn new(value: GeneralNamesOrText) -> Self
Create a new instance of AlternativeName
given value.
sourcepub fn get_inner(&self) -> &GeneralNamesOrText
pub fn get_inner(&self) -> &GeneralNamesOrText
Get the inner of Alternative Name.
Trait Implementations§
source§impl Clone for AlternativeName
impl Clone for AlternativeName
source§fn clone(&self) -> AlternativeName
fn clone(&self) -> AlternativeName
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 AlternativeName
impl Debug for AlternativeName
source§impl Decode<'_, ()> for AlternativeName
impl Decode<'_, ()> for AlternativeName
source§impl<'de> Deserialize<'de> for AlternativeName
impl<'de> Deserialize<'de> for AlternativeName
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 Encode<()> for AlternativeName
impl Encode<()> for AlternativeName
source§impl PartialEq for AlternativeName
impl PartialEq for AlternativeName
source§impl Serialize for AlternativeName
impl Serialize for AlternativeName
impl StructuralPartialEq for AlternativeName
Auto Trait Implementations§
impl Freeze for AlternativeName
impl RefUnwindSafe for AlternativeName
impl Send for AlternativeName
impl Sync for AlternativeName
impl Unpin for AlternativeName
impl UnwindSafe for AlternativeName
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)