Struct x509_parser::extensions::AuthorityInfoAccess
source · [−]pub struct AuthorityInfoAccess<'a> {
pub accessdescs: Vec<AccessDescription<'a>>,
}
Fields
accessdescs: Vec<AccessDescription<'a>>
Implementations
sourceimpl<'a> AuthorityInfoAccess<'a>
impl<'a> AuthorityInfoAccess<'a>
sourcepub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
pub fn iter(&self) -> impl Iterator<Item = &AccessDescription<'a>>
Returns an iterator over the Access Descriptors
sourcepub fn as_hashmap(&self) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>>>
pub fn as_hashmap(&self) -> HashMap<Oid<'a>, Vec<&GeneralName<'a>>>
Returns a HashMap
mapping Oid
to the list of references to GeneralNames
If several names match the same Oid
, they are merged in the same entry.
sourcepub fn into_hashmap(self) -> HashMap<Oid<'a>, Vec<GeneralName<'a>>>
pub fn into_hashmap(self) -> HashMap<Oid<'a>, Vec<GeneralName<'a>>>
Returns a HashMap
mapping Oid
to the list of GeneralNames
(consuming the input)
If several names match the same Oid
, they are merged in the same entry.
Trait Implementations
sourceimpl<'a> Clone for AuthorityInfoAccess<'a>
impl<'a> Clone for AuthorityInfoAccess<'a>
sourcefn clone(&self) -> AuthorityInfoAccess<'a>
fn clone(&self) -> AuthorityInfoAccess<'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 AuthorityInfoAccess<'a>
impl<'a> Debug for AuthorityInfoAccess<'a>
sourceimpl<'a> FromDer<'a> for AuthorityInfoAccess<'a>
impl<'a> FromDer<'a> for AuthorityInfoAccess<'a>
sourceimpl<'a> PartialEq<AuthorityInfoAccess<'a>> for AuthorityInfoAccess<'a>
impl<'a> PartialEq<AuthorityInfoAccess<'a>> for AuthorityInfoAccess<'a>
sourcefn eq(&self, other: &AuthorityInfoAccess<'a>) -> bool
fn eq(&self, other: &AuthorityInfoAccess<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AuthorityInfoAccess<'a>) -> bool
fn ne(&self, other: &AuthorityInfoAccess<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for AuthorityInfoAccess<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AuthorityInfoAccess<'a>
impl<'a> Send for AuthorityInfoAccess<'a>
impl<'a> Sync for AuthorityInfoAccess<'a>
impl<'a> Unpin for AuthorityInfoAccess<'a>
impl<'a> UnwindSafe for AuthorityInfoAccess<'a>
Blanket Implementations
sourceimpl<'a, T> AsTaggedExplicit<'a> for T where
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for T where
T: 'a,
sourceimpl<'a, T> AsTaggedImplicit<'a> for T where
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more