Struct x509_parser::certificate::BasicExtension
source · [−]pub struct BasicExtension<T> {
pub critical: bool,
pub value: T,
}
Expand description
Basic extension structure, used in search results
Fields
critical: bool
value: T
Implementations
sourceimpl<T> BasicExtension<T>
impl<T> BasicExtension<T>
Trait Implementations
sourceimpl<T: Debug> Debug for BasicExtension<T>
impl<T: Debug> Debug for BasicExtension<T>
sourceimpl<T: PartialEq> PartialEq<BasicExtension<T>> for BasicExtension<T>
impl<T: PartialEq> PartialEq<BasicExtension<T>> for BasicExtension<T>
sourcefn eq(&self, other: &BasicExtension<T>) -> bool
fn eq(&self, other: &BasicExtension<T>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BasicExtension<T>) -> bool
fn ne(&self, other: &BasicExtension<T>) -> bool
This method tests for !=
.
impl<T> StructuralPartialEq for BasicExtension<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for BasicExtension<T> where
T: RefUnwindSafe,
impl<T> Send for BasicExtension<T> where
T: Send,
impl<T> Sync for BasicExtension<T> where
T: Sync,
impl<T> Unpin for BasicExtension<T> where
T: Unpin,
impl<T> UnwindSafe for BasicExtension<T> where
T: UnwindSafe,
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