Struct x509_parser::extensions::PolicyMapping
source · [−]pub struct PolicyMapping<'a> {
pub issuer_domain_policy: Oid<'a>,
pub subject_domain_policy: Oid<'a>,
}
Fields
issuer_domain_policy: Oid<'a>
subject_domain_policy: Oid<'a>
Implementations
Trait Implementations
sourceimpl<'ber, 'a> CheckDerConstraints for PolicyMapping<'a> where
'ber: 'a,
impl<'ber, 'a> CheckDerConstraints for PolicyMapping<'a> where
'ber: 'a,
fn check_constraints(any: &Any<'_>) -> Result<()>
sourceimpl<'a> Clone for PolicyMapping<'a>
impl<'a> Clone for PolicyMapping<'a>
sourcefn clone(&self) -> PolicyMapping<'a>
fn clone(&self) -> PolicyMapping<'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 PolicyMapping<'a>
impl<'a> Debug for PolicyMapping<'a>
sourceimpl<'ber, 'a> FromDer<'ber, Error> for PolicyMapping<'a> where
'ber: 'a,
impl<'ber, 'a> FromDer<'ber, Error> for PolicyMapping<'a> where
'ber: 'a,
sourcefn from_der(bytes: &'ber [u8]) -> ParseResult<'ber, Self, Error>
fn from_der(bytes: &'ber [u8]) -> ParseResult<'ber, Self, Error>
Attempt to parse input bytes into a DER object (enforcing constraints)
sourceimpl<'a> PartialEq<PolicyMapping<'a>> for PolicyMapping<'a>
impl<'a> PartialEq<PolicyMapping<'a>> for PolicyMapping<'a>
sourcefn eq(&self, other: &PolicyMapping<'a>) -> bool
fn eq(&self, other: &PolicyMapping<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PolicyMapping<'a>) -> bool
fn ne(&self, other: &PolicyMapping<'a>) -> bool
This method tests for !=
.
sourceimpl<'ber, 'a> TryFrom<Any<'ber>> for PolicyMapping<'a> where
'ber: 'a,
impl<'ber, 'a> TryFrom<Any<'ber>> for PolicyMapping<'a> where
'ber: 'a,
impl<'a> StructuralPartialEq for PolicyMapping<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PolicyMapping<'a>
impl<'a> Send for PolicyMapping<'a>
impl<'a> Sync for PolicyMapping<'a>
impl<'a> Unpin for PolicyMapping<'a>
impl<'a> UnwindSafe for PolicyMapping<'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
sourceimpl<T> Choice for T where
T: Tagged,
impl<T> Choice for T where
T: Tagged,
sourcefn can_decode(tag: Tag) -> bool
fn can_decode(tag: Tag) -> bool
Is the provided Tag
decodable as a variant of this CHOICE
?