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
sourceimpl<'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
sourceimpl<'a> Clone for RelativeDistinguishedName<'a>
impl<'a> Clone for RelativeDistinguishedName<'a>
sourcefn clone(&self) -> RelativeDistinguishedName<'a>
fn clone(&self) -> RelativeDistinguishedName<'a>
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<'a> Debug for RelativeDistinguishedName<'a>
impl<'a> Debug for RelativeDistinguishedName<'a>
sourceimpl<'a> FromDer<'a, X509Error> for RelativeDistinguishedName<'a>
impl<'a> FromDer<'a, X509Error> for RelativeDistinguishedName<'a>
sourcefn 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)
sourceimpl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
impl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
sourcefn 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
sourceimpl<'a> FromIterator<RelativeDistinguishedName<'a>> for X509Name<'a>
impl<'a> FromIterator<RelativeDistinguishedName<'a>> for X509Name<'a>
sourcefn 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
sourceimpl<'a> PartialEq<RelativeDistinguishedName<'a>> for RelativeDistinguishedName<'a>
impl<'a> PartialEq<RelativeDistinguishedName<'a>> for RelativeDistinguishedName<'a>
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RelativeDistinguishedName<'a>) -> bool
fn ne(&self, other: &RelativeDistinguishedName<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for RelativeDistinguishedName<'a>
Auto Trait Implementations
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
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
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