pub struct PasskeyRegisterRequestBodyAuthenticatorResponse {
pub authenticator_attachment: Option<String>,
pub client_extension_results: PasskeyRegisterRequestBodyAuthenticatorResponseClientExtensionResults,
pub id: String,
pub raw_id: String,
pub response: PasskeyRegisterRequestBodyAuthenticatorResponseResponse,
pub type_: PasskeyRegisterRequestBodyAuthenticatorResponseType,
}Expand description
PasskeyRegisterRequestBodyAuthenticatorResponse
JSON schema
{
"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: PasskeyRegisterRequestBodyAuthenticatorResponseClientExtensionResults§id: String§raw_id: String§response: PasskeyRegisterRequestBodyAuthenticatorResponseResponse§type_: PasskeyRegisterRequestBodyAuthenticatorResponseTypeTrait Implementations§
Source§impl Clone for PasskeyRegisterRequestBodyAuthenticatorResponse
impl Clone for PasskeyRegisterRequestBodyAuthenticatorResponse
Source§fn clone(&self) -> PasskeyRegisterRequestBodyAuthenticatorResponse
fn clone(&self) -> PasskeyRegisterRequestBodyAuthenticatorResponse
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 PasskeyRegisterRequestBodyAuthenticatorResponse
impl<'de> Deserialize<'de> for PasskeyRegisterRequestBodyAuthenticatorResponse
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<&PasskeyRegisterRequestBodyAuthenticatorResponse> for PasskeyRegisterRequestBodyAuthenticatorResponse
impl From<&PasskeyRegisterRequestBodyAuthenticatorResponse> for PasskeyRegisterRequestBodyAuthenticatorResponse
Source§fn from(value: &PasskeyRegisterRequestBodyAuthenticatorResponse) -> Self
fn from(value: &PasskeyRegisterRequestBodyAuthenticatorResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyRegisterRequestBodyAuthenticatorResponse
impl RefUnwindSafe for PasskeyRegisterRequestBodyAuthenticatorResponse
impl Send for PasskeyRegisterRequestBodyAuthenticatorResponse
impl Sync for PasskeyRegisterRequestBodyAuthenticatorResponse
impl Unpin for PasskeyRegisterRequestBodyAuthenticatorResponse
impl UnsafeUnpin for PasskeyRegisterRequestBodyAuthenticatorResponse
impl UnwindSafe for PasskeyRegisterRequestBodyAuthenticatorResponse
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