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>>,
) -> RelativeDistinguishedName<'a>
pub const fn new( set: Vec<AttributeTypeAndValue<'a>>, ) -> RelativeDistinguishedName<'a>
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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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§impl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
impl<'a> FromIterator<AttributeTypeAndValue<'a>> for RelativeDistinguishedName<'a>
Source§fn from_iter<T>(iter: T) -> RelativeDistinguishedName<'a>where
T: IntoIterator<Item = AttributeTypeAndValue<'a>>,
fn from_iter<T>(iter: T) -> RelativeDistinguishedName<'a>where
T: IntoIterator<Item = AttributeTypeAndValue<'a>>,
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>(iter: T) -> X509Name<'a>where
T: IntoIterator<Item = RelativeDistinguishedName<'a>>,
fn from_iter<T>(iter: T) -> X509Name<'a>where
T: IntoIterator<Item = RelativeDistinguishedName<'a>>,
Creates a value from an iterator. Read more
Source§impl<'a> PartialEq for RelativeDistinguishedName<'a>
impl<'a> PartialEq for RelativeDistinguishedName<'a>
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> UnsafeUnpin 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