Enum hsmtool::util::attribute::CertificateType
source · #[repr(u64)]pub enum CertificateType {
X509,
X509AttrCert,
Wtls,
UnknownCertificateType(u64),
}
Variants§
Trait Implementations§
source§impl Clone for CertificateType
impl Clone for CertificateType
source§fn clone(&self) -> CertificateType
fn clone(&self) -> CertificateType
Returns a copy 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 CertificateType
impl Debug for CertificateType
source§impl<'de> Deserialize<'de> for CertificateType
impl<'de> Deserialize<'de> for CertificateType
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 From<CertificateType> for AttrData
impl From<CertificateType> for AttrData
source§fn from(val: CertificateType) -> Self
fn from(val: CertificateType) -> Self
Converts to this type from the input type.
source§impl From<CertificateType> for CertificateType
impl From<CertificateType> for CertificateType
source§impl From<CertificateType> for u64
impl From<CertificateType> for u64
source§fn from(enum_value: CertificateType) -> Self
fn from(enum_value: CertificateType) -> Self
Converts to this type from the input type.
source§impl From<u64> for CertificateType
impl From<u64> for CertificateType
source§impl FromPrimitive for CertificateType
impl FromPrimitive for CertificateType
source§impl Hash for CertificateType
impl Hash for CertificateType
source§impl PartialEq<CertificateType> for CertificateType
impl PartialEq<CertificateType> for CertificateType
source§fn eq(&self, other: &CertificateType) -> bool
fn eq(&self, other: &CertificateType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CertificateType
impl Serialize for CertificateType
source§impl TryFrom<&AttrData> for CertificateType
impl TryFrom<&AttrData> for CertificateType
source§impl TryFrom<CertificateType> for CertificateType
impl TryFrom<CertificateType> for CertificateType
impl Copy for CertificateType
impl Eq for CertificateType
impl StructuralEq for CertificateType
impl StructuralPartialEq for CertificateType
Auto Trait Implementations§
impl RefUnwindSafe for CertificateType
impl Send for CertificateType
impl Sync for CertificateType
impl Unpin for CertificateType
impl UnwindSafe for CertificateType
Blanket Implementations§
§impl<T> Annotate for Twhere
T: Serialize + ?Sized,
impl<T> Annotate for Twhere T: Serialize + ?Sized,
default fn format( &self, _variant: Option<&str>, _field: &MemberId<'_> ) -> Option<Format>
default fn comment( &self, _variant: Option<&str>, _field: &MemberId<'_> ) -> Option<String>
default fn as_annotate(&self) -> Option<&dyn Annotate>
default fn thunk_serialize( &self, serializer: &mut AnnotatedSerializer<'_> ) -> Result<Document, Error>
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.