#[repr(u64)]pub enum ObjectClass {
Data = 0,
Certificate = 1,
PublicKey = 2,
PrivateKey = 3,
SecretKey = 4,
HwFeature = 5,
DomainParameters = 6,
Mechanism = 7,
OtpKey = 8,
UnknownObjectClass(u64),
}
Variants§
Data = 0
Certificate = 1
PublicKey = 2
PrivateKey = 3
SecretKey = 4
HwFeature = 5
DomainParameters = 6
Mechanism = 7
OtpKey = 8
UnknownObjectClass(u64)
Trait Implementations§
Source§impl Clone for ObjectClass
impl Clone for ObjectClass
Source§fn clone(&self) -> ObjectClass
fn clone(&self) -> ObjectClass
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 ObjectClass
impl Debug for ObjectClass
Source§impl<'de> Deserialize<'de> for ObjectClass
impl<'de> Deserialize<'de> for ObjectClass
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<ObjectClass> for AttrData
impl From<ObjectClass> for AttrData
Source§fn from(val: ObjectClass) -> Self
fn from(val: ObjectClass) -> Self
Converts to this type from the input type.
Source§impl From<ObjectClass> for ObjectClass
impl From<ObjectClass> for ObjectClass
Source§impl From<ObjectClass> for u64
impl From<ObjectClass> for u64
Source§fn from(enum_value: ObjectClass) -> Self
fn from(enum_value: ObjectClass) -> Self
Converts to this type from the input type.
Source§impl From<u64> for ObjectClass
impl From<u64> for ObjectClass
Source§impl FromPrimitive for ObjectClass
impl FromPrimitive for ObjectClass
Source§impl Hash for ObjectClass
impl Hash for ObjectClass
Source§impl PartialEq for ObjectClass
impl PartialEq for ObjectClass
Source§impl Serialize for ObjectClass
impl Serialize for ObjectClass
Source§impl TryFrom<&AttrData> for ObjectClass
impl TryFrom<&AttrData> for ObjectClass
Source§impl TryFrom<ObjectClass> for ObjectClass
impl TryFrom<ObjectClass> for ObjectClass
impl Copy for ObjectClass
impl Eq for ObjectClass
impl StructuralPartialEq for ObjectClass
Auto Trait Implementations§
impl Freeze for ObjectClass
impl RefUnwindSafe for ObjectClass
impl Send for ObjectClass
impl Sync for ObjectClass
impl Unpin for ObjectClass
impl UnwindSafe for ObjectClass
Blanket Implementations§
§impl<T> Annotate for T
impl<T> Annotate for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.