Struct chromiumoxide::cdp::browser_protocol::web_authn::AddCredentialParams
source · pub struct AddCredentialParams {
pub authenticator_id: AuthenticatorId,
pub credential: Credential,
}Expand description
Adds the credential to the specified authenticator. addCredential
Fields§
§authenticator_id: AuthenticatorId§credential: CredentialImplementations§
source§impl AddCredentialParams
impl AddCredentialParams
pub fn new( authenticator_id: impl Into<AuthenticatorId>, credential: impl Into<Credential> ) -> AddCredentialParams
source§impl AddCredentialParams
impl AddCredentialParams
pub fn builder() -> AddCredentialParamsBuilder
source§impl AddCredentialParams
impl AddCredentialParams
pub const IDENTIFIER: &'static str = "WebAuthn.addCredential"
Trait Implementations§
source§impl Clone for AddCredentialParams
impl Clone for AddCredentialParams
source§fn clone(&self) -> AddCredentialParams
fn clone(&self) -> AddCredentialParams
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 AddCredentialParams
impl Command for AddCredentialParams
§type Response = AddCredentialReturns
type Response = AddCredentialReturns
The type of the response this request triggers on the chromium server
source§impl Debug for AddCredentialParams
impl Debug for AddCredentialParams
source§impl<'de> Deserialize<'de> for AddCredentialParams
impl<'de> Deserialize<'de> for AddCredentialParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AddCredentialParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AddCredentialParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for AddCredentialParams
impl Method for AddCredentialParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for AddCredentialParams
impl MethodType for AddCredentialParams
source§impl PartialEq<AddCredentialParams> for AddCredentialParams
impl PartialEq<AddCredentialParams> for AddCredentialParams
source§fn eq(&self, other: &AddCredentialParams) -> bool
fn eq(&self, other: &AddCredentialParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddCredentialParams
impl Serialize for AddCredentialParams
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