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§
Trait Implementations§
source§impl<T: Debug> Debug for BasicExtension<T>
impl<T: Debug> Debug for BasicExtension<T>
source§impl<T: PartialEq> PartialEq for BasicExtension<T>
impl<T: PartialEq> PartialEq for BasicExtension<T>
source§fn 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 ==
.impl<T: Eq> Eq for BasicExtension<T>
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§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more