pub struct WebAuthnPublicKeyAuthenticationRequest {
pub client_extension_results: Option<Box<WebAuthnExtensionsClientOutputs>>,
pub id: Option<String>,
pub rp_id: Option<String>,
pub response: Option<Box<WebAuthnAuthenticatorAuthenticationResponse>>,
pub type: Option<String>,
}
Expand description
WebAuthnPublicKeyAuthenticationRequest : Request to authenticate with WebAuthn
Fields§
§client_extension_results: Option<Box<WebAuthnExtensionsClientOutputs>>
§id: Option<String>
§rp_id: Option<String>
§response: Option<Box<WebAuthnAuthenticatorAuthenticationResponse>>
§type: Option<String>
Implementations§
Source§impl WebAuthnPublicKeyAuthenticationRequest
impl WebAuthnPublicKeyAuthenticationRequest
Sourcepub fn new() -> WebAuthnPublicKeyAuthenticationRequest
pub fn new() -> WebAuthnPublicKeyAuthenticationRequest
Request to authenticate with WebAuthn
Trait Implementations§
Source§impl Clone for WebAuthnPublicKeyAuthenticationRequest
impl Clone for WebAuthnPublicKeyAuthenticationRequest
Source§fn clone(&self) -> WebAuthnPublicKeyAuthenticationRequest
fn clone(&self) -> WebAuthnPublicKeyAuthenticationRequest
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 Default for WebAuthnPublicKeyAuthenticationRequest
impl Default for WebAuthnPublicKeyAuthenticationRequest
Source§fn default() -> WebAuthnPublicKeyAuthenticationRequest
fn default() -> WebAuthnPublicKeyAuthenticationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebAuthnPublicKeyAuthenticationRequest
impl<'de> Deserialize<'de> for WebAuthnPublicKeyAuthenticationRequest
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 WebAuthnPublicKeyAuthenticationRequest
impl PartialEq for WebAuthnPublicKeyAuthenticationRequest
Source§fn eq(&self, other: &WebAuthnPublicKeyAuthenticationRequest) -> bool
fn eq(&self, other: &WebAuthnPublicKeyAuthenticationRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebAuthnPublicKeyAuthenticationRequest
Auto Trait Implementations§
impl Freeze for WebAuthnPublicKeyAuthenticationRequest
impl RefUnwindSafe for WebAuthnPublicKeyAuthenticationRequest
impl Send for WebAuthnPublicKeyAuthenticationRequest
impl Sync for WebAuthnPublicKeyAuthenticationRequest
impl Unpin for WebAuthnPublicKeyAuthenticationRequest
impl UnwindSafe for WebAuthnPublicKeyAuthenticationRequest
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