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<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<&PasskeyAuthenticatorRegistrationCredentialResponse> for PasskeyAuthenticatorRegistrationCredentialResponse
impl From<&PasskeyAuthenticatorRegistrationCredentialResponse> for PasskeyAuthenticatorRegistrationCredentialResponse
Source§fn from(value: &PasskeyAuthenticatorRegistrationCredentialResponse) -> Self
fn from(value: &PasskeyAuthenticatorRegistrationCredentialResponse) -> Self
Converts to this type from the input type.
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