Struct x509_parser::x509::ReasonCode
source · [−]pub struct ReasonCode(pub u8);Tuple Fields
0: u8Implementations
sourceimpl ReasonCode
impl ReasonCode
pub const Unspecified: ReasonCode
pub const KeyCompromise: ReasonCode
pub const CACompromise: ReasonCode
pub const AffiliationChanged: ReasonCode
pub const Superseded: ReasonCode
pub const CessationOfOperation: ReasonCode
pub const CertificateHold: ReasonCode
pub const RemoveFromCRL: ReasonCode
pub const PrivilegeWithdrawn: ReasonCode
pub const AACompromise: ReasonCode
Trait Implementations
sourceimpl Clone for ReasonCode
impl Clone for ReasonCode
sourcefn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
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 Debug for ReasonCode
impl Debug for ReasonCode
sourceimpl Default for ReasonCode
impl Default for ReasonCode
sourceimpl Display for ReasonCode
impl Display for ReasonCode
sourceimpl PartialEq<ReasonCode> for ReasonCode
impl PartialEq<ReasonCode> for ReasonCode
sourcefn eq(&self, other: &ReasonCode) -> bool
fn eq(&self, other: &ReasonCode) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ReasonCode) -> bool
fn ne(&self, other: &ReasonCode) -> bool
This method tests for !=.
impl Copy for ReasonCode
impl Eq for ReasonCode
impl StructuralEq for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnwindSafe for ReasonCode
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