#[repr(transparent)]pub struct LACredentialType(pub NSInteger);LAContext only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl LACredentialType
impl LACredentialType
Sourcepub const ApplicationPassword: Self
pub const ApplicationPassword: Self
Password provided by application
If not set, LocalAuthentication will ask for the password when necessary. It will use its own user interface depending on the evaluated policy or ACL. Applications can provide the password using the setCredential method. In such case, LocalAuthentication will not show password entry user interface. When entered from the LocalAuthentication user interface, the password is stored as UTF-8 encoded string.
Sourcepub const SmartCardPIN: Self
pub const SmartCardPIN: Self
Smart card PIN provided by application
If not set, LocalAuthentication will ask users for the smart card PIN when necessary. Applications can provide the PIN using setCredential method. In such case, LocalAuthentication will not show the smart card PIN user interface. When entered from the LocalAuthentication user interface, the PIN is stored as UTF-8 encoded string.
Trait Implementations§
Source§impl Clone for LACredentialType
impl Clone for LACredentialType
Source§fn clone(&self) -> LACredentialType
fn clone(&self) -> LACredentialType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LACredentialType
impl Debug for LACredentialType
Source§impl Encode for LACredentialType
impl Encode for LACredentialType
Source§impl Hash for LACredentialType
impl Hash for LACredentialType
Source§impl Ord for LACredentialType
impl Ord for LACredentialType
Source§fn cmp(&self, other: &LACredentialType) -> Ordering
fn cmp(&self, other: &LACredentialType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for LACredentialType
impl PartialEq for LACredentialType
Source§fn eq(&self, other: &LACredentialType) -> bool
fn eq(&self, other: &LACredentialType) -> bool
self and other values to be equal, and is used by ==.