Struct chromiumoxide::cdp::browser_protocol::web_authn::EnableParams
source · pub struct EnableParams {
pub enable_ui: Option<bool>,
}
Expand description
Enable the WebAuthn domain and start intercepting credential storage and retrieval with a virtual authenticator. enable
Fields§
§enable_ui: Option<bool>
Whether to enable the WebAuthn user interface. Enabling the UI is recommended for debugging and demo purposes, as it is closer to the real experience. Disabling the UI is recommended for automated testing. Supported at the embedder’s discretion if UI is available. Defaults to false.
Implementations§
source§impl EnableParams
impl EnableParams
pub fn builder() -> EnableParamsBuilder
source§impl EnableParams
impl EnableParams
pub const IDENTIFIER: &'static str = "WebAuthn.enable"
Trait Implementations§
source§impl Clone for EnableParams
impl Clone for EnableParams
source§fn clone(&self) -> EnableParams
fn clone(&self) -> EnableParams
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 Command for EnableParams
impl Command for EnableParams
§type Response = EnableReturns
type Response = EnableReturns
The type of the response this request triggers on the chromium server
source§impl Debug for EnableParams
impl Debug for EnableParams
source§impl Default for EnableParams
impl Default for EnableParams
source§fn default() -> EnableParams
fn default() -> EnableParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EnableParams
impl<'de> Deserialize<'de> for EnableParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EnableParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for EnableParams
impl Method for EnableParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for EnableParams
impl MethodType for EnableParams
source§impl PartialEq for EnableParams
impl PartialEq for EnableParams
source§fn eq(&self, other: &EnableParams) -> bool
fn eq(&self, other: &EnableParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnableParams
impl Serialize for EnableParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EnableParams
Auto Trait Implementations§
impl RefUnwindSafe for EnableParams
impl Send for EnableParams
impl Sync for EnableParams
impl Unpin for EnableParams
impl UnwindSafe for EnableParams
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