Struct chrome_remote_interface_model::web_authn::VirtualAuthenticatorOptionsBuilder [−][src]
This is supported on crate features
experimental
and WebAuthn
only.Implementations
impl VirtualAuthenticatorOptionsBuilder
[src]
pub fn protocol(&mut self, v: AuthenticatorProtocol) -> &mut Self
[src]
pub fn ctap2_version(&mut self, v: Ctap2Version) -> &mut Self
[src]
Defaults to ctap2_0. Ignored if |protocol| == u2f.
pub fn transport(&mut self, v: AuthenticatorTransport) -> &mut Self
[src]
pub fn has_resident_key(&mut self, v: bool) -> &mut Self
[src]
Defaults to false.
pub fn has_user_verification(&mut self, v: bool) -> &mut Self
[src]
Defaults to false.
pub fn has_large_blob(&mut self, v: bool) -> &mut Self
[src]
If set to true, the authenticator will support the largeBlob extension. https://w3c.github.io/webauthn#largeBlob Defaults to false.
pub fn automatic_presence_simulation(&mut self, v: bool) -> &mut Self
[src]
If set to true, tests of user presence will succeed immediately. Otherwise, they will not be resolved. Defaults to true.
pub fn is_user_verified(&mut self, v: bool) -> &mut Self
[src]
Sets whether User Verification succeeds or fails for an authenticator. Defaults to false.
pub fn build(&mut self) -> Result<VirtualAuthenticatorOptions, &'static str>
[src]
Trait Implementations
impl Clone for VirtualAuthenticatorOptionsBuilder
[src]
fn clone(&self) -> VirtualAuthenticatorOptionsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VirtualAuthenticatorOptionsBuilder
[src]
impl Default for VirtualAuthenticatorOptionsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for VirtualAuthenticatorOptionsBuilder
[src]
impl Send for VirtualAuthenticatorOptionsBuilder
[src]
impl Sync for VirtualAuthenticatorOptionsBuilder
[src]
impl Unpin for VirtualAuthenticatorOptionsBuilder
[src]
impl UnwindSafe for VirtualAuthenticatorOptionsBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,