pub struct PasskeyAuthenticatorRegistrationCredential {
pub authenticator_attachment: Option<String>,
pub client_extension_results: PasskeyAuthenticatorRegistrationCredentialClientExtensionResults,
pub id: String,
pub raw_id: String,
pub response: PasskeyAuthenticatorRegistrationCredentialResponse,
pub type_: PasskeyAuthenticatorRegistrationCredentialType,
}Expand description
The passkey registration credential.
JSON schema
{
"title": "PasskeyAuthenticatorRegistrationCredential",
"description": "The passkey registration 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": [
"attestation_object",
"client_data_json"
],
"properties": {
"attestation_object": {
"type": "string"
},
"authenticator_data": {
"type": "string"
},
"client_data_json": {
"type": "string"
},
"public_key": {
"type": "string"
},
"public_key_algorithm": {
"type": "number"
},
"transports": {
"type": "array",
"items": {}
}
}
},
"type": {
"type": "string",
"enum": [
"public-key"
]
}
}
}Fields§
§authenticator_attachment: Option<String>§client_extension_results: PasskeyAuthenticatorRegistrationCredentialClientExtensionResults§id: String§raw_id: String§response: PasskeyAuthenticatorRegistrationCredentialResponse§type_: PasskeyAuthenticatorRegistrationCredentialTypeTrait Implementations§
Source§impl Clone for PasskeyAuthenticatorRegistrationCredential
impl Clone for PasskeyAuthenticatorRegistrationCredential
Source§fn clone(&self) -> PasskeyAuthenticatorRegistrationCredential
fn clone(&self) -> PasskeyAuthenticatorRegistrationCredential
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 PasskeyAuthenticatorRegistrationCredential
impl<'de> Deserialize<'de> for PasskeyAuthenticatorRegistrationCredential
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorRegistrationCredential, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorRegistrationCredential, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PasskeyAuthenticatorRegistrationCredential> for PasskeyAuthenticatorRegistrationCredential
impl From<&PasskeyAuthenticatorRegistrationCredential> for PasskeyAuthenticatorRegistrationCredential
Source§fn from(
value: &PasskeyAuthenticatorRegistrationCredential,
) -> PasskeyAuthenticatorRegistrationCredential
fn from( value: &PasskeyAuthenticatorRegistrationCredential, ) -> PasskeyAuthenticatorRegistrationCredential
Converts to this type from the input type.
Source§impl Serialize for PasskeyAuthenticatorRegistrationCredential
impl Serialize for PasskeyAuthenticatorRegistrationCredential
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PasskeyAuthenticatorRegistrationCredential
impl RefUnwindSafe for PasskeyAuthenticatorRegistrationCredential
impl Send for PasskeyAuthenticatorRegistrationCredential
impl Sync for PasskeyAuthenticatorRegistrationCredential
impl Unpin for PasskeyAuthenticatorRegistrationCredential
impl UnwindSafe for PasskeyAuthenticatorRegistrationCredential
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