Struct x509_parser::x509::RelativeDistinguishedName
source · pub struct RelativeDistinguishedName<'a> { /* private fields */ }
Expand description
A Relative Distinguished Name element.
These objects are used as X509Name
components.
Implementations§
source§impl<'a> RelativeDistinguishedName<'a>
impl<'a> RelativeDistinguishedName<'a>
sourcepub const fn new(set: Vec<AttributeTypeAndValue<'a>>) -> Self
pub const fn new(set: Vec<AttributeTypeAndValue<'a>>) -> Self
Builds a new RelativeDistinguishedName
sourcepub fn iter(&self) -> impl Iterator<Item = &AttributeTypeAndValue<'a>>
pub fn iter(&self) -> impl Iterator<Item = &AttributeTypeAndValue<'a>>
Return an iterator over the components of this object
Trait Implementations§
source§impl<'a> Clone for RelativeDistinguishedName<'a>
impl<'a> Clone for RelativeDistinguishedName<'a>
source§fn clone(&self) -> RelativeDistinguishedName<'a>
fn clone(&self) -> RelativeDistinguishedName<'a>
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<'a> Debug for RelativeDistinguishedName<'a>
impl<'a> Debug for RelativeDistinguishedName<'a>
source§impl<'a> FromDer<'a, X509Error> for RelativeDistinguishedName<'a>
impl<'a> FromDer<'a, X509Error> for RelativeDistinguishedName<'a>
source§fn from_der(i: &'a [u8]) -> X509Result<'_, Self>
fn from_der(i: &'a [u8]) -> X509Result<'_, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
source§impl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
impl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
source§fn from_iter<T: IntoIterator<Item = AttributeTypeAndValue<'a>>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = AttributeTypeAndValue<'a>>>(iter: T) -> Self
Creates a value from an iterator. Read more
source§impl<'a> FromIterator<RelativeDistinguishedName<'a>> for X509Name<'a>
impl<'a> FromIterator<RelativeDistinguishedName<'a>> for X509Name<'a>
source§fn from_iter<T: IntoIterator<Item = RelativeDistinguishedName<'a>>>(
iter: T,
) -> Self
fn from_iter<T: IntoIterator<Item = RelativeDistinguishedName<'a>>>( iter: T, ) -> Self
Creates a value from an iterator. Read more
source§impl<'a> PartialEq for RelativeDistinguishedName<'a>
impl<'a> PartialEq for RelativeDistinguishedName<'a>
source§fn eq(&self, other: &RelativeDistinguishedName<'a>) -> bool
fn eq(&self, other: &RelativeDistinguishedName<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> StructuralPartialEq for RelativeDistinguishedName<'a>
Auto Trait Implementations§
impl<'a> Freeze for RelativeDistinguishedName<'a>
impl<'a> RefUnwindSafe for RelativeDistinguishedName<'a>
impl<'a> Send for RelativeDistinguishedName<'a>
impl<'a> Sync for RelativeDistinguishedName<'a>
impl<'a> Unpin for RelativeDistinguishedName<'a>
impl<'a> UnwindSafe for RelativeDistinguishedName<'a>
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§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§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
)