pub struct AuthCapabilities {
pub biometric_available: bool,
pub password_available: bool,
pub presence_caching: bool,
pub authenticator_name: Option<String>,
}Expand description
Capabilities of the current platform’s authentication subsystem.
Fields§
§biometric_available: boolBiometric authenticator available (Touch ID, Windows Hello fingerprint).
password_available: boolPassword/PIN fallback available in the same auth flow.
presence_caching: boolPresence prompts can be cached across ops within a TTL (macOS LAContext only).
authenticator_name: Option<String>Human-readable authenticator name, if known.
Trait Implementations§
Source§impl Clone for AuthCapabilities
impl Clone for AuthCapabilities
Source§fn clone(&self) -> AuthCapabilities
fn clone(&self) -> AuthCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AuthCapabilities
impl RefUnwindSafe for AuthCapabilities
impl Send for AuthCapabilities
impl Sync for AuthCapabilities
impl Unpin for AuthCapabilities
impl UnsafeUnpin for AuthCapabilities
impl UnwindSafe for AuthCapabilities
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