pub struct PasskeyAuthenticatorAuthenticationCredential {
pub authenticator_attachment: Option<String>,
pub client_extension_results: PasskeyAuthenticatorAuthenticationCredentialClientExtensionResults,
pub id: String,
pub raw_id: String,
pub response: PasskeyAuthenticatorAuthenticationCredentialResponse,
pub type_: PasskeyAuthenticatorAuthenticationCredentialType,
}Expand description
The passkey authentication credential.
JSON schema
{
"title": "PasskeyAuthenticatorAuthenticationCredential",
"description": "The passkey authentication credential.",
"type": "object",
"required": [
"client_extension_results",
"id",
"raw_id",
"response",
"type"
],
"properties": {
"authenticator_attachment": {
"type": "string"
},
"client_extension_results": {
"type": "object",
"properties": {
"app_id": {
"type": "boolean"
},
"cred_props": {
"type": "object",
"properties": {
"rk": {
"type": "boolean"
}
}
},
"hmac_create_secret": {
"type": "boolean"
}
}
},
"id": {
"type": "string"
},
"raw_id": {
"type": "string"
},
"response": {
"type": "object",
"required": [
"authenticator_data",
"client_data_json",
"signature"
],
"properties": {
"authenticator_data": {
"type": "string"
},
"client_data_json": {
"type": "string"
},
"signature": {
"type": "string"
},
"user_handle": {
"type": "string"
}
}
},
"type": {
"type": "string",
"enum": [
"public-key"
]
}
}
}Fields§
§authenticator_attachment: Option<String>§client_extension_results: PasskeyAuthenticatorAuthenticationCredentialClientExtensionResults§id: String§raw_id: String§response: PasskeyAuthenticatorAuthenticationCredentialResponse§type_: PasskeyAuthenticatorAuthenticationCredentialTypeTrait Implementations§
Source§impl Clone for PasskeyAuthenticatorAuthenticationCredential
impl Clone for PasskeyAuthenticatorAuthenticationCredential
Source§fn clone(&self) -> PasskeyAuthenticatorAuthenticationCredential
fn clone(&self) -> PasskeyAuthenticatorAuthenticationCredential
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<'de> Deserialize<'de> for PasskeyAuthenticatorAuthenticationCredential
impl<'de> Deserialize<'de> for PasskeyAuthenticatorAuthenticationCredential
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 From<&PasskeyAuthenticatorAuthenticationCredential> for PasskeyAuthenticatorAuthenticationCredential
impl From<&PasskeyAuthenticatorAuthenticationCredential> for PasskeyAuthenticatorAuthenticationCredential
Source§fn from(value: &PasskeyAuthenticatorAuthenticationCredential) -> Self
fn from(value: &PasskeyAuthenticatorAuthenticationCredential) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyAuthenticatorAuthenticationCredential
impl RefUnwindSafe for PasskeyAuthenticatorAuthenticationCredential
impl Send for PasskeyAuthenticatorAuthenticationCredential
impl Sync for PasskeyAuthenticatorAuthenticationCredential
impl Unpin for PasskeyAuthenticatorAuthenticationCredential
impl UnwindSafe for PasskeyAuthenticatorAuthenticationCredential
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