pub struct AddCredential {
pub method: AddCredentialMethod,
pub params: AddCredentialParams,
}Expand description
Adds the credential to the specified authenticator. addCredential
Fields§
§method: AddCredentialMethod§params: AddCredentialParamsImplementations§
Source§impl AddCredential
impl AddCredential
pub fn builder() -> AddCredentialBuilder
Source§impl AddCredential
impl AddCredential
pub const IDENTIFIER: &'static str = "WebAuthn.addCredential"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for AddCredential
impl Clone for AddCredential
Source§fn clone(&self) -> AddCredential
fn clone(&self) -> AddCredential
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 AddCredential
impl CommandResult for AddCredential
type Result = AddCredentialResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for AddCredential
impl Debug for AddCredential
Source§impl<'de> Deserialize<'de> for AddCredential
impl<'de> Deserialize<'de> for AddCredential
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<AddCredential> for BrowserProtocolCommands
impl From<AddCredential> for BrowserProtocolCommands
Source§fn from(v: AddCredential) -> Self
fn from(v: AddCredential) -> Self
Converts to this type from the input type.
Source§impl From<AddCredential> for Command
impl From<AddCredential> for Command
Source§fn from(v: AddCredential) -> Self
fn from(v: AddCredential) -> Self
Converts to this type from the input type.
Source§impl From<AddCredential> for WebAuthnCommands
impl From<AddCredential> for WebAuthnCommands
Source§fn from(v: AddCredential) -> Self
fn from(v: AddCredential) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddCredential
impl PartialEq for AddCredential
Source§impl Serialize for AddCredential
impl Serialize for AddCredential
Source§impl TryFrom<BrowserProtocolCommands> for AddCredential
impl TryFrom<BrowserProtocolCommands> for AddCredential
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, <AddCredential as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <AddCredential as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for AddCredential
impl TryFrom<Command> for AddCredential
Source§impl TryFrom<WebAuthnCommands> for AddCredential
impl TryFrom<WebAuthnCommands> for AddCredential
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, <AddCredential as TryFrom<WebAuthnCommands>>::Error>
fn try_from( e: WebAuthnCommands, ) -> Result<Self, <AddCredential as TryFrom<WebAuthnCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for AddCredential
Auto Trait Implementations§
impl Freeze for AddCredential
impl RefUnwindSafe for AddCredential
impl Send for AddCredential
impl Sync for AddCredential
impl Unpin for AddCredential
impl UnsafeUnpin for AddCredential
impl UnwindSafe for AddCredential
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