pub struct AddCredentialParams {
pub authenticator_id: AuthenticatorId,
pub credential: Credential,
}Expand description
Adds the credential to the specified authenticator.
Parameters of WebAuthn.addCredential.
Fields§
§authenticator_id: AuthenticatorId§credential: CredentialTrait Implementations§
Source§impl Clone for AddCredentialParams
impl Clone for AddCredentialParams
Source§impl Command for AddCredentialParams
impl Command for AddCredentialParams
Source§impl Debug for AddCredentialParams
impl Debug for AddCredentialParams
Source§impl Default for AddCredentialParams
impl Default for AddCredentialParams
Source§impl<'de> Deserialize<'de> for AddCredentialParams
impl<'de> Deserialize<'de> for AddCredentialParams
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 PartialEq for AddCredentialParams
impl PartialEq for AddCredentialParams
Source§impl Serialize for AddCredentialParams
impl Serialize for AddCredentialParams
impl StructuralPartialEq for AddCredentialParams
Auto Trait Implementations§
impl Forget for AddCredentialParams
impl Freeze for AddCredentialParams
impl RefUnwindSafe for AddCredentialParams
impl Send for AddCredentialParams
impl Sync for AddCredentialParams
impl Unpin for AddCredentialParams
impl UnsafeUnpin for AddCredentialParams
impl UnwindSafe for AddCredentialParams
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