pub struct WebAuthnCredentialResponse {
pub credential: Option<Box<WebAuthnCredential>>,
pub credentials: Option<Vec<WebAuthnCredential>>,
}
Expand description
WebAuthnCredentialResponse : WebAuthn Credential API response
Fields§
§credential: Option<Box<WebAuthnCredential>>
§credentials: Option<Vec<WebAuthnCredential>>
Implementations§
Source§impl WebAuthnCredentialResponse
impl WebAuthnCredentialResponse
Sourcepub fn new() -> WebAuthnCredentialResponse
pub fn new() -> WebAuthnCredentialResponse
WebAuthn Credential API response
Trait Implementations§
Source§impl Clone for WebAuthnCredentialResponse
impl Clone for WebAuthnCredentialResponse
Source§fn clone(&self) -> WebAuthnCredentialResponse
fn clone(&self) -> WebAuthnCredentialResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebAuthnCredentialResponse
impl Debug for WebAuthnCredentialResponse
Source§impl Default for WebAuthnCredentialResponse
impl Default for WebAuthnCredentialResponse
Source§fn default() -> WebAuthnCredentialResponse
fn default() -> WebAuthnCredentialResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebAuthnCredentialResponse
impl<'de> Deserialize<'de> for WebAuthnCredentialResponse
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
impl StructuralPartialEq for WebAuthnCredentialResponse
Auto Trait Implementations§
impl Freeze for WebAuthnCredentialResponse
impl RefUnwindSafe for WebAuthnCredentialResponse
impl Send for WebAuthnCredentialResponse
impl Sync for WebAuthnCredentialResponse
impl Unpin for WebAuthnCredentialResponse
impl UnwindSafe for WebAuthnCredentialResponse
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