pub struct VirtualAuthenticatorOptionsBuilder { /* private fields */ }
Implementations§
Source§impl VirtualAuthenticatorOptionsBuilder
impl VirtualAuthenticatorOptionsBuilder
pub fn protocol( self, protocol: impl Into<AuthenticatorProtocol>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn ctap2_version( self, ctap2_version: impl Into<Ctap2Version>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn transport( self, transport: impl Into<AuthenticatorTransport>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_resident_key( self, has_resident_key: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_user_verification( self, has_user_verification: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_large_blob( self, has_large_blob: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_cred_blob( self, has_cred_blob: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_min_pin_length( self, has_min_pin_length: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn has_prf( self, has_prf: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn automatic_presence_simulation( self, automatic_presence_simulation: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn is_user_verified( self, is_user_verified: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn default_backup_eligibility( self, default_backup_eligibility: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn default_backup_state( self, default_backup_state: impl Into<bool>, ) -> VirtualAuthenticatorOptionsBuilder
pub fn build(self) -> Result<VirtualAuthenticatorOptions, String>
Trait Implementations§
Source§impl Clone for VirtualAuthenticatorOptionsBuilder
impl Clone for VirtualAuthenticatorOptionsBuilder
Source§fn clone(&self) -> VirtualAuthenticatorOptionsBuilder
fn clone(&self) -> VirtualAuthenticatorOptionsBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for VirtualAuthenticatorOptionsBuilder
impl Default for VirtualAuthenticatorOptionsBuilder
Source§fn default() -> VirtualAuthenticatorOptionsBuilder
fn default() -> VirtualAuthenticatorOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VirtualAuthenticatorOptionsBuilder
impl RefUnwindSafe for VirtualAuthenticatorOptionsBuilder
impl Send for VirtualAuthenticatorOptionsBuilder
impl Sync for VirtualAuthenticatorOptionsBuilder
impl Unpin for VirtualAuthenticatorOptionsBuilder
impl UnwindSafe for VirtualAuthenticatorOptionsBuilder
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
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