pub struct WebAuthnCredentialImportRequest {
pub credentials: Option<Vec<WebAuthnCredential>>,
pub validate_db_constraints: Option<bool>,
}
Expand description
WebAuthnCredentialImportRequest : API request to import an existing WebAuthn credential(s)
Fields§
§credentials: Option<Vec<WebAuthnCredential>>
§validate_db_constraints: Option<bool>
Implementations§
Source§impl WebAuthnCredentialImportRequest
impl WebAuthnCredentialImportRequest
Sourcepub fn new() -> WebAuthnCredentialImportRequest
pub fn new() -> WebAuthnCredentialImportRequest
API request to import an existing WebAuthn credential(s)
Trait Implementations§
Source§impl Clone for WebAuthnCredentialImportRequest
impl Clone for WebAuthnCredentialImportRequest
Source§fn clone(&self) -> WebAuthnCredentialImportRequest
fn clone(&self) -> WebAuthnCredentialImportRequest
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 WebAuthnCredentialImportRequest
impl Default for WebAuthnCredentialImportRequest
Source§fn default() -> WebAuthnCredentialImportRequest
fn default() -> WebAuthnCredentialImportRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebAuthnCredentialImportRequest
impl<'de> Deserialize<'de> for WebAuthnCredentialImportRequest
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 WebAuthnCredentialImportRequest
impl PartialEq for WebAuthnCredentialImportRequest
Source§fn eq(&self, other: &WebAuthnCredentialImportRequest) -> bool
fn eq(&self, other: &WebAuthnCredentialImportRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebAuthnCredentialImportRequest
Auto Trait Implementations§
impl Freeze for WebAuthnCredentialImportRequest
impl RefUnwindSafe for WebAuthnCredentialImportRequest
impl Send for WebAuthnCredentialImportRequest
impl Sync for WebAuthnCredentialImportRequest
impl Unpin for WebAuthnCredentialImportRequest
impl UnwindSafe for WebAuthnCredentialImportRequest
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