pub struct SetAutomaticPresenceSimulationParams {
pub authenticator_id: AuthenticatorId,
pub enabled: bool,
}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.
Parameters of WebAuthn.setAutomaticPresenceSimulation.
Fields§
§authenticator_id: AuthenticatorId§enabled: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SetAutomaticPresenceSimulationParams
impl<'de> Deserialize<'de> for SetAutomaticPresenceSimulationParams
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
impl StructuralPartialEq for SetAutomaticPresenceSimulationParams
Auto Trait Implementations§
impl Forget for SetAutomaticPresenceSimulationParams
impl Freeze for SetAutomaticPresenceSimulationParams
impl RefUnwindSafe for SetAutomaticPresenceSimulationParams
impl Send for SetAutomaticPresenceSimulationParams
impl Sync for SetAutomaticPresenceSimulationParams
impl Unpin for SetAutomaticPresenceSimulationParams
impl UnsafeUnpin for SetAutomaticPresenceSimulationParams
impl UnwindSafe for SetAutomaticPresenceSimulationParams
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