pub struct SetAutomaticPresenceSimulation {
pub method: SetAutomaticPresenceSimulationMethod,
pub params: SetAutomaticPresenceSimulationParams,
}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. setAutomaticPresenceSimulation
Fields§
§method: SetAutomaticPresenceSimulationMethod§params: SetAutomaticPresenceSimulationParamsImplementations§
Source§impl SetAutomaticPresenceSimulation
impl SetAutomaticPresenceSimulation
pub fn builder() -> SetAutomaticPresenceSimulationBuilder
Source§impl SetAutomaticPresenceSimulation
impl SetAutomaticPresenceSimulation
pub const IDENTIFIER: &'static str = "WebAuthn.setAutomaticPresenceSimulation"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetAutomaticPresenceSimulation
impl Clone for SetAutomaticPresenceSimulation
Source§fn clone(&self) -> SetAutomaticPresenceSimulation
fn clone(&self) -> SetAutomaticPresenceSimulation
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 CommandResult for SetAutomaticPresenceSimulation
impl CommandResult for SetAutomaticPresenceSimulation
type Result = SetAutomaticPresenceSimulationResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for SetAutomaticPresenceSimulation
impl<'de> Deserialize<'de> for SetAutomaticPresenceSimulation
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
Source§impl From<SetAutomaticPresenceSimulation> for BrowserProtocolCommands
impl From<SetAutomaticPresenceSimulation> for BrowserProtocolCommands
Source§fn from(v: SetAutomaticPresenceSimulation) -> Self
fn from(v: SetAutomaticPresenceSimulation) -> Self
Converts to this type from the input type.
Source§impl From<SetAutomaticPresenceSimulation> for Command
impl From<SetAutomaticPresenceSimulation> for Command
Source§fn from(v: SetAutomaticPresenceSimulation) -> Self
fn from(v: SetAutomaticPresenceSimulation) -> Self
Converts to this type from the input type.
Source§impl From<SetAutomaticPresenceSimulation> for WebAuthnCommands
impl From<SetAutomaticPresenceSimulation> for WebAuthnCommands
Source§fn from(v: SetAutomaticPresenceSimulation) -> Self
fn from(v: SetAutomaticPresenceSimulation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetAutomaticPresenceSimulation
impl PartialEq for SetAutomaticPresenceSimulation
Source§fn eq(&self, other: &SetAutomaticPresenceSimulation) -> bool
fn eq(&self, other: &SetAutomaticPresenceSimulation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolCommands> for SetAutomaticPresenceSimulation
impl TryFrom<BrowserProtocolCommands> for SetAutomaticPresenceSimulation
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetAutomaticPresenceSimulation as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetAutomaticPresenceSimulation as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<WebAuthnCommands> for SetAutomaticPresenceSimulation
impl TryFrom<WebAuthnCommands> for SetAutomaticPresenceSimulation
Source§type Error = WebAuthnCommands
type Error = WebAuthnCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: WebAuthnCommands,
) -> Result<Self, <SetAutomaticPresenceSimulation as TryFrom<WebAuthnCommands>>::Error>
fn try_from( e: WebAuthnCommands, ) -> Result<Self, <SetAutomaticPresenceSimulation as TryFrom<WebAuthnCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetAutomaticPresenceSimulation
Auto Trait Implementations§
impl Freeze for SetAutomaticPresenceSimulation
impl RefUnwindSafe for SetAutomaticPresenceSimulation
impl Send for SetAutomaticPresenceSimulation
impl Sync for SetAutomaticPresenceSimulation
impl Unpin for SetAutomaticPresenceSimulation
impl UnsafeUnpin for SetAutomaticPresenceSimulation
impl UnwindSafe for SetAutomaticPresenceSimulation
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