Struct x509_parser::extensions::AccessDescription
source · [−]pub struct AccessDescription<'a> {
pub access_method: Oid<'a>,
pub access_location: GeneralName<'a>,
}
Fields
access_method: Oid<'a>
access_location: GeneralName<'a>
Implementations
sourceimpl<'a> AccessDescription<'a>
impl<'a> AccessDescription<'a>
pub const fn new(
access_method: Oid<'a>,
access_location: GeneralName<'a>
) -> Self
Trait Implementations
sourceimpl<'a> Clone for AccessDescription<'a>
impl<'a> Clone for AccessDescription<'a>
sourcefn clone(&self) -> AccessDescription<'a>
fn clone(&self) -> AccessDescription<'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 AccessDescription<'a>
impl<'a> Debug for AccessDescription<'a>
sourceimpl<'a> PartialEq<AccessDescription<'a>> for AccessDescription<'a>
impl<'a> PartialEq<AccessDescription<'a>> for AccessDescription<'a>
sourcefn eq(&self, other: &AccessDescription<'a>) -> bool
fn eq(&self, other: &AccessDescription<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AccessDescription<'a>) -> bool
fn ne(&self, other: &AccessDescription<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for AccessDescription<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AccessDescription<'a>
impl<'a> Send for AccessDescription<'a>
impl<'a> Sync for AccessDescription<'a>
impl<'a> Unpin for AccessDescription<'a>
impl<'a> UnwindSafe for AccessDescription<'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