#[repr(C)]pub enum CertificateStatusType {
PENDING = 0,
REJECTED = 1,
ISSUED = 2,
REVOKED = 3,
EXPIRED = 4,
}
Expand description
Certificate status
Enumeration of values.
Since this enum’s variants do not hold data, we can easily define them them as #[repr(C)]
which helps with FFI.
Variants§
Trait Implementations§
Source§impl Clone for CertificateStatusType
impl Clone for CertificateStatusType
Source§fn clone(&self) -> CertificateStatusType
fn clone(&self) -> CertificateStatusType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertificateStatusType
impl Debug for CertificateStatusType
Source§impl<'de> Deserialize<'de> for CertificateStatusType
impl<'de> Deserialize<'de> for CertificateStatusType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CertificateStatusType
impl Display for CertificateStatusType
Source§impl FromStr for CertificateStatusType
impl FromStr for CertificateStatusType
Source§impl Ord for CertificateStatusType
impl Ord for CertificateStatusType
Source§fn cmp(&self, other: &CertificateStatusType) -> Ordering
fn cmp(&self, other: &CertificateStatusType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CertificateStatusType
impl PartialEq for CertificateStatusType
Source§impl PartialOrd for CertificateStatusType
impl PartialOrd for CertificateStatusType
Source§impl Serialize for CertificateStatusType
impl Serialize for CertificateStatusType
impl Copy for CertificateStatusType
impl Eq for CertificateStatusType
impl StructuralPartialEq for CertificateStatusType
Auto Trait Implementations§
impl Freeze for CertificateStatusType
impl RefUnwindSafe for CertificateStatusType
impl Send for CertificateStatusType
impl Sync for CertificateStatusType
impl Unpin for CertificateStatusType
impl UnwindSafe for CertificateStatusType
Blanket Implementations§
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