pub struct PasskeyAuthenticatorRegistrationCredentialResponse {
pub attestation_object: String,
pub authenticator_data: Option<String>,
pub client_data_json: String,
pub public_key: Option<String>,
pub public_key_algorithm: Option<f64>,
pub transports: Vec<Value>,
}Expand description
PasskeyAuthenticatorRegistrationCredentialResponse
JSON schema
{
"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": {}
}
}
}Fields§
§attestation_object: String§authenticator_data: Option<String>§client_data_json: String§public_key: Option<String>§public_key_algorithm: Option<f64>§transports: Vec<Value>Trait Implementations§
Source§impl Clone for PasskeyAuthenticatorRegistrationCredentialResponse
impl Clone for PasskeyAuthenticatorRegistrationCredentialResponse
Source§fn clone(&self) -> PasskeyAuthenticatorRegistrationCredentialResponse
fn clone(&self) -> PasskeyAuthenticatorRegistrationCredentialResponse
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 PasskeyAuthenticatorRegistrationCredentialResponse
impl<'de> Deserialize<'de> for PasskeyAuthenticatorRegistrationCredentialResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorRegistrationCredentialResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorRegistrationCredentialResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PasskeyAuthenticatorRegistrationCredentialResponse> for PasskeyAuthenticatorRegistrationCredentialResponse
impl From<&PasskeyAuthenticatorRegistrationCredentialResponse> for PasskeyAuthenticatorRegistrationCredentialResponse
Source§fn from(
value: &PasskeyAuthenticatorRegistrationCredentialResponse,
) -> PasskeyAuthenticatorRegistrationCredentialResponse
fn from( value: &PasskeyAuthenticatorRegistrationCredentialResponse, ) -> PasskeyAuthenticatorRegistrationCredentialResponse
Converts to this type from the input type.
Source§impl Serialize for PasskeyAuthenticatorRegistrationCredentialResponse
impl Serialize for PasskeyAuthenticatorRegistrationCredentialResponse
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 PasskeyAuthenticatorRegistrationCredentialResponse
impl RefUnwindSafe for PasskeyAuthenticatorRegistrationCredentialResponse
impl Send for PasskeyAuthenticatorRegistrationCredentialResponse
impl Sync for PasskeyAuthenticatorRegistrationCredentialResponse
impl Unpin for PasskeyAuthenticatorRegistrationCredentialResponse
impl UnwindSafe for PasskeyAuthenticatorRegistrationCredentialResponse
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