pub struct GetCredential {
pub method: GetCredentialMethod,
pub params: GetCredentialParams,
}Expand description
Returns a single credential stored in the given virtual authenticator that matches the credential ID. getCredential
Fields§
§method: GetCredentialMethod§params: GetCredentialParamsImplementations§
Source§impl GetCredential
impl GetCredential
pub fn builder() -> GetCredentialBuilder
Source§impl GetCredential
impl GetCredential
pub const IDENTIFIER: &'static str = "WebAuthn.getCredential"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetCredential
impl Clone for GetCredential
Source§fn clone(&self) -> GetCredential
fn clone(&self) -> GetCredential
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 GetCredential
impl CommandResult for GetCredential
type Result = GetCredentialResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetCredential
impl Debug for GetCredential
Source§impl<'de> Deserialize<'de> for GetCredential
impl<'de> Deserialize<'de> for GetCredential
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<GetCredential> for BrowserProtocolCommands
impl From<GetCredential> for BrowserProtocolCommands
Source§fn from(v: GetCredential) -> Self
fn from(v: GetCredential) -> Self
Converts to this type from the input type.
Source§impl From<GetCredential> for Command
impl From<GetCredential> for Command
Source§fn from(v: GetCredential) -> Self
fn from(v: GetCredential) -> Self
Converts to this type from the input type.
Source§impl From<GetCredential> for WebAuthnCommands
impl From<GetCredential> for WebAuthnCommands
Source§fn from(v: GetCredential) -> Self
fn from(v: GetCredential) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetCredential
impl PartialEq for GetCredential
Source§impl Serialize for GetCredential
impl Serialize for GetCredential
Source§impl TryFrom<BrowserProtocolCommands> for GetCredential
impl TryFrom<BrowserProtocolCommands> for GetCredential
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, <GetCredential as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetCredential as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetCredential
impl TryFrom<Command> for GetCredential
Source§impl TryFrom<WebAuthnCommands> for GetCredential
impl TryFrom<WebAuthnCommands> for GetCredential
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, <GetCredential as TryFrom<WebAuthnCommands>>::Error>
fn try_from( e: WebAuthnCommands, ) -> Result<Self, <GetCredential as TryFrom<WebAuthnCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetCredential
Auto Trait Implementations§
impl Freeze for GetCredential
impl RefUnwindSafe for GetCredential
impl Send for GetCredential
impl Sync for GetCredential
impl Unpin for GetCredential
impl UnsafeUnpin for GetCredential
impl UnwindSafe for GetCredential
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