pub struct WebAuthnLoginCredentialCreateRequestModel {
pub device_response: Box<AuthenticatorAttestationRawResponse>,
pub name: String,
pub token: String,
pub supports_prf: bool,
pub encrypted_user_key: Option<String>,
pub encrypted_public_key: Option<String>,
pub encrypted_private_key: Option<String>,
}
Fields§
§device_response: Box<AuthenticatorAttestationRawResponse>
§name: String
§token: String
§supports_prf: bool
§encrypted_user_key: Option<String>
§encrypted_public_key: Option<String>
§encrypted_private_key: Option<String>
Implementations§
Source§impl WebAuthnLoginCredentialCreateRequestModel
impl WebAuthnLoginCredentialCreateRequestModel
pub fn new( device_response: AuthenticatorAttestationRawResponse, name: String, token: String, supports_prf: bool, ) -> WebAuthnLoginCredentialCreateRequestModel
Trait Implementations§
Source§impl Clone for WebAuthnLoginCredentialCreateRequestModel
impl Clone for WebAuthnLoginCredentialCreateRequestModel
Source§fn clone(&self) -> WebAuthnLoginCredentialCreateRequestModel
fn clone(&self) -> WebAuthnLoginCredentialCreateRequestModel
Returns a copy 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 WebAuthnLoginCredentialCreateRequestModel
impl Default for WebAuthnLoginCredentialCreateRequestModel
Source§fn default() -> WebAuthnLoginCredentialCreateRequestModel
fn default() -> WebAuthnLoginCredentialCreateRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebAuthnLoginCredentialCreateRequestModel
impl<'de> Deserialize<'de> for WebAuthnLoginCredentialCreateRequestModel
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 WebAuthnLoginCredentialCreateRequestModel
impl PartialEq for WebAuthnLoginCredentialCreateRequestModel
Source§fn eq(&self, other: &WebAuthnLoginCredentialCreateRequestModel) -> bool
fn eq(&self, other: &WebAuthnLoginCredentialCreateRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebAuthnLoginCredentialCreateRequestModel
Auto Trait Implementations§
impl Freeze for WebAuthnLoginCredentialCreateRequestModel
impl RefUnwindSafe for WebAuthnLoginCredentialCreateRequestModel
impl Send for WebAuthnLoginCredentialCreateRequestModel
impl Sync for WebAuthnLoginCredentialCreateRequestModel
impl Unpin for WebAuthnLoginCredentialCreateRequestModel
impl UnwindSafe for WebAuthnLoginCredentialCreateRequestModel
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