pub struct PasskeyAuthenticatorEnrollmentResponse {
pub authenticator_attachment: Option<String>,
pub client_extension_results: PasskeyClientExtensionResults,
pub id: String,
pub raw_id: String,
pub response: PasskeyAttestationResponse,
pub type_: PasskeyAuthenticatorEnrollmentResponseType,
}Expand description
WebAuthn registration response as defined by the Web Authentication specification.
JSON schema
{
"title": "PasskeyAuthenticatorEnrollmentResponse",
"description": "WebAuthn registration response as defined by the Web
Authentication specification.",
"type": "object",
"required": [
"client_extension_results",
"id",
"raw_id",
"response",
"type"
],
"properties": {
"authenticator_attachment": {
"type": "string"
},
"client_extension_results": {
"$ref": "#/components/schemas/PasskeyClientExtensionResults"
},
"id": {
"type": "string"
},
"raw_id": {
"type": "string"
},
"response": {
"$ref": "#/components/schemas/PasskeyAttestationResponse"
},
"type": {
"type": "string",
"enum": [
"public-key"
]
}
},
"x-stainless-model":
"client_auth.passkey_authenticator_enrollment_response"
}Fields§
§authenticator_attachment: Option<String>§client_extension_results: PasskeyClientExtensionResults§id: String§raw_id: String§response: PasskeyAttestationResponse§type_: PasskeyAuthenticatorEnrollmentResponseTypeTrait Implementations§
Source§impl Clone for PasskeyAuthenticatorEnrollmentResponse
impl Clone for PasskeyAuthenticatorEnrollmentResponse
Source§fn clone(&self) -> PasskeyAuthenticatorEnrollmentResponse
fn clone(&self) -> PasskeyAuthenticatorEnrollmentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PasskeyAuthenticatorEnrollmentResponse
impl<'de> Deserialize<'de> for PasskeyAuthenticatorEnrollmentResponse
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<&PasskeyAuthenticatorEnrollmentResponse> for PasskeyAuthenticatorEnrollmentResponse
impl From<&PasskeyAuthenticatorEnrollmentResponse> for PasskeyAuthenticatorEnrollmentResponse
Source§fn from(value: &PasskeyAuthenticatorEnrollmentResponse) -> Self
fn from(value: &PasskeyAuthenticatorEnrollmentResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyAuthenticatorEnrollmentResponse
impl RefUnwindSafe for PasskeyAuthenticatorEnrollmentResponse
impl Send for PasskeyAuthenticatorEnrollmentResponse
impl Sync for PasskeyAuthenticatorEnrollmentResponse
impl Unpin for PasskeyAuthenticatorEnrollmentResponse
impl UnsafeUnpin for PasskeyAuthenticatorEnrollmentResponse
impl UnwindSafe for PasskeyAuthenticatorEnrollmentResponse
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