Struct x509_parser::extensions::PolicyInformation
source · [−]pub struct PolicyInformation<'a> {
pub policy_id: Oid<'a>,
pub policy_qualifiers: Option<Vec<PolicyQualifierInfo<'a>>>,
}Fields
policy_id: Oid<'a>policy_qualifiers: Option<Vec<PolicyQualifierInfo<'a>>>Trait Implementations
sourceimpl<'a> Clone for PolicyInformation<'a>
impl<'a> Clone for PolicyInformation<'a>
sourcefn clone(&self) -> PolicyInformation<'a>
fn clone(&self) -> PolicyInformation<'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 PolicyInformation<'a>
impl<'a> Debug for PolicyInformation<'a>
sourceimpl<'a> PartialEq<PolicyInformation<'a>> for PolicyInformation<'a>
impl<'a> PartialEq<PolicyInformation<'a>> for PolicyInformation<'a>
sourcefn eq(&self, other: &PolicyInformation<'a>) -> bool
fn eq(&self, other: &PolicyInformation<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PolicyInformation<'a>) -> bool
fn ne(&self, other: &PolicyInformation<'a>) -> bool
This method tests for !=.
impl<'a> StructuralPartialEq for PolicyInformation<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for PolicyInformation<'a>
impl<'a> Send for PolicyInformation<'a>
impl<'a> Sync for PolicyInformation<'a>
impl<'a> Unpin for PolicyInformation<'a>
impl<'a> UnwindSafe for PolicyInformation<'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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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