pub struct AddCredentialCommand { /* private fields */ }Available on crate features
experimental and WebAuthn only.Expand description
Adds the credential to the specified authenticator.
Implementations§
Source§impl AddCredentialCommand
impl AddCredentialCommand
pub fn new(authenticator_id: AuthenticatorId, credential: Credential) -> Self
pub fn authenticator_id(&self) -> &AuthenticatorId
pub fn credential(&self) -> &Credential
Trait Implementations§
Source§impl Clone for AddCredentialCommand
impl Clone for AddCredentialCommand
Source§fn clone(&self) -> AddCredentialCommand
fn clone(&self) -> AddCredentialCommand
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 Command for AddCredentialCommand
impl Command for AddCredentialCommand
Source§impl Debug for AddCredentialCommand
impl Debug for AddCredentialCommand
Source§impl<'de> Deserialize<'de> for AddCredentialCommand
impl<'de> Deserialize<'de> for AddCredentialCommand
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
Auto Trait Implementations§
impl Freeze for AddCredentialCommand
impl RefUnwindSafe for AddCredentialCommand
impl Send for AddCredentialCommand
impl Sync for AddCredentialCommand
impl Unpin for AddCredentialCommand
impl UnwindSafe for AddCredentialCommand
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