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