pub struct GetCredentialCommand { /* private fields */ }Available on crate features
experimental and WebAuthn only.Expand description
Returns a single credential stored in the given virtual authenticator that matches the credential ID.
Implementations§
Source§impl GetCredentialCommand
impl GetCredentialCommand
pub fn new(authenticator_id: AuthenticatorId, credential_id: String) -> Self
pub fn authenticator_id(&self) -> &AuthenticatorId
pub fn credential_id(&self) -> &str
Trait Implementations§
Source§impl Clone for GetCredentialCommand
impl Clone for GetCredentialCommand
Source§fn clone(&self) -> GetCredentialCommand
fn clone(&self) -> GetCredentialCommand
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 GetCredentialCommand
impl Command for GetCredentialCommand
Source§impl Debug for GetCredentialCommand
impl Debug for GetCredentialCommand
Source§impl<'de> Deserialize<'de> for GetCredentialCommand
impl<'de> Deserialize<'de> for GetCredentialCommand
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 GetCredentialCommand
impl RefUnwindSafe for GetCredentialCommand
impl Send for GetCredentialCommand
impl Sync for GetCredentialCommand
impl Unpin for GetCredentialCommand
impl UnwindSafe for GetCredentialCommand
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