Struct x509_parser::extensions::NameConstraints
source · [−]pub struct NameConstraints<'a> {
pub permitted_subtrees: Option<Vec<GeneralSubtree<'a>>>,
pub excluded_subtrees: Option<Vec<GeneralSubtree<'a>>>,
}
Fields
permitted_subtrees: Option<Vec<GeneralSubtree<'a>>>
excluded_subtrees: Option<Vec<GeneralSubtree<'a>>>
Trait Implementations
sourceimpl<'a> Clone for NameConstraints<'a>
impl<'a> Clone for NameConstraints<'a>
sourcefn clone(&self) -> NameConstraints<'a>
fn clone(&self) -> NameConstraints<'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 NameConstraints<'a>
impl<'a> Debug for NameConstraints<'a>
sourceimpl<'a> FromDer<'a, X509Error> for NameConstraints<'a>
impl<'a> FromDer<'a, X509Error> for NameConstraints<'a>
sourcefn from_der(i: &'a [u8]) -> X509Result<'a, Self>
fn from_der(i: &'a [u8]) -> X509Result<'a, Self>
Attempt to parse input bytes into a DER object (enforcing constraints)
sourceimpl<'a> PartialEq<NameConstraints<'a>> for NameConstraints<'a>
impl<'a> PartialEq<NameConstraints<'a>> for NameConstraints<'a>
sourcefn eq(&self, other: &NameConstraints<'a>) -> bool
fn eq(&self, other: &NameConstraints<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NameConstraints<'a>) -> bool
fn ne(&self, other: &NameConstraints<'a>) -> bool
This method tests for !=
.
impl<'a> StructuralPartialEq for NameConstraints<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for NameConstraints<'a>
impl<'a> Send for NameConstraints<'a>
impl<'a> Sync for NameConstraints<'a>
impl<'a> Unpin for NameConstraints<'a>
impl<'a> UnwindSafe for NameConstraints<'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