#[repr(u8)]pub enum CredentialType {
Programmingpin = 0,
Pin = 1,
Rfid = 2,
Fingerprint = 3,
Fingervein = 4,
Face = 5,
Alirocredentialissuerkey = 6,
Aliroevictableendpointkey = 7,
Alirononevictableendpointkey = 8,
}Variants§
Programmingpin = 0
Programming PIN code credential type
Pin = 1
PIN code credential type
Rfid = 2
RFID identifier credential type
Fingerprint = 3
Fingerprint identifier credential type
Fingervein = 4
Finger vein identifier credential type
Face = 5
Face identifier credential type
Alirocredentialissuerkey = 6
A Credential Issuer public key as defined in Aliro
Aliroevictableendpointkey = 7
An Endpoint public key as defined in Aliro which can be evicted if space is needed for another endpoint key
Alirononevictableendpointkey = 8
An Endpoint public key as defined in Aliro which cannot be evicted if space is needed for another endpoint key
Implementations§
Trait Implementations§
Source§impl Clone for CredentialType
impl Clone for CredentialType
Source§fn clone(&self) -> CredentialType
fn clone(&self) -> CredentialType
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 CredentialType
impl Debug for CredentialType
Source§impl<'de> Deserialize<'de> for CredentialType
impl<'de> Deserialize<'de> for CredentialType
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<CredentialType> for u8
impl From<CredentialType> for u8
Source§fn from(val: CredentialType) -> Self
fn from(val: CredentialType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CredentialType
impl PartialEq for CredentialType
Source§impl Serialize for CredentialType
impl Serialize for CredentialType
impl Copy for CredentialType
impl Eq for CredentialType
impl StructuralPartialEq for CredentialType
Auto Trait Implementations§
impl Freeze for CredentialType
impl RefUnwindSafe for CredentialType
impl Send for CredentialType
impl Sync for CredentialType
impl Unpin for CredentialType
impl UnwindSafe for CredentialType
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