pub struct WebAuthnOptions {
pub protocol: String,
pub transport: String,
pub has_resident_key: bool,
pub has_user_verification: bool,
pub is_user_verifying_platform_authenticator: bool,
}Expand description
Options for a virtual WebAuthn authenticator.
Fields§
§protocol: StringProtocol version: "ctap2" (default) or "u2f".
transport: StringTransport type: "internal", "usb", "nfc", or "ble".
has_resident_key: boolWhether the authenticator supports resident keys (discoverable credentials).
has_user_verification: boolWhether the authenticator supports user verification.
is_user_verifying_platform_authenticator: boolWhether this is a user-verifying platform authenticator.
Trait Implementations§
Source§impl Clone for WebAuthnOptions
impl Clone for WebAuthnOptions
Source§fn clone(&self) -> WebAuthnOptions
fn clone(&self) -> WebAuthnOptions
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 moreSource§impl Debug for WebAuthnOptions
impl Debug for WebAuthnOptions
Source§impl Default for WebAuthnOptions
impl Default for WebAuthnOptions
Auto Trait Implementations§
impl Freeze for WebAuthnOptions
impl RefUnwindSafe for WebAuthnOptions
impl Send for WebAuthnOptions
impl Sync for WebAuthnOptions
impl Unpin for WebAuthnOptions
impl UnsafeUnpin for WebAuthnOptions
impl UnwindSafe for WebAuthnOptions
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more