pub struct SetAutomaticPresenceSimulationCommand { /* private fields */ }Available on crate features
experimental and WebAuthn only.Expand description
Sets whether tests of user presence will succeed immediately (if true) or fail to resolve (if false) for an authenticator. The default is true.
Implementations§
Source§impl SetAutomaticPresenceSimulationCommand
impl SetAutomaticPresenceSimulationCommand
pub fn new(authenticator_id: AuthenticatorId, enabled: bool) -> Self
pub fn authenticator_id(&self) -> &AuthenticatorId
pub fn enabled(&self) -> bool
Trait Implementations§
Source§impl Clone for SetAutomaticPresenceSimulationCommand
impl Clone for SetAutomaticPresenceSimulationCommand
Source§fn clone(&self) -> SetAutomaticPresenceSimulationCommand
fn clone(&self) -> SetAutomaticPresenceSimulationCommand
Returns a duplicate 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<'de> Deserialize<'de> for SetAutomaticPresenceSimulationCommand
impl<'de> Deserialize<'de> for SetAutomaticPresenceSimulationCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetAutomaticPresenceSimulationCommand
impl RefUnwindSafe for SetAutomaticPresenceSimulationCommand
impl Send for SetAutomaticPresenceSimulationCommand
impl Sync for SetAutomaticPresenceSimulationCommand
impl Unpin for SetAutomaticPresenceSimulationCommand
impl UnwindSafe for SetAutomaticPresenceSimulationCommand
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