#[repr(u8)]pub enum BiometryType {
None = 0,
TouchID = 1,
FaceID = 2,
}Expand description
The kind of biometry hardware detected on the device.
Variants§
None = 0
No biometry hardware is available, or it is not enrolled with the operating system.
TouchID = 1
Fingerprint authentication (Apple Touch ID or Android fingerprint).
FaceID = 2
Face authentication (Apple Face ID or Android face authentication).
Trait Implementations§
Source§impl Clone for BiometryType
impl Clone for BiometryType
Source§impl Debug for BiometryType
impl Debug for BiometryType
Source§impl<'de> Deserialize<'de> for BiometryType
impl<'de> Deserialize<'de> for BiometryType
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
Auto Trait Implementations§
impl Freeze for BiometryType
impl RefUnwindSafe for BiometryType
impl Send for BiometryType
impl Sync for BiometryType
impl Unpin for BiometryType
impl UnsafeUnpin for BiometryType
impl UnwindSafe for BiometryType
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