pub struct AuthPasskeyRegistrationRequestBody {
pub authenticator_response: PasskeyAuthenticatorRegistrationCredential,
pub relying_party: Option<String>,
}Expand description
The authenticator response for the registration ceremony.
JSON schema
{
"title": "AuthPasskeyRegistrationRequestBody",
"description": "The authenticator response for the registration
ceremony.",
"type": "object",
"required": [
"authenticator_response"
],
"properties": {
"authenticator_response": {
"$ref":
"#/components/schemas/PasskeyAuthenticatorRegistrationCredential"
},
"relying_party": {
"type": "string",
"format": "uri"
}
}
}Fields§
§authenticator_response: PasskeyAuthenticatorRegistrationCredential§relying_party: Option<String>Trait Implementations§
Source§impl Clone for AuthPasskeyRegistrationRequestBody
impl Clone for AuthPasskeyRegistrationRequestBody
Source§fn clone(&self) -> AuthPasskeyRegistrationRequestBody
fn clone(&self) -> AuthPasskeyRegistrationRequestBody
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 AuthPasskeyRegistrationRequestBody
impl<'de> Deserialize<'de> for AuthPasskeyRegistrationRequestBody
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<&AuthPasskeyRegistrationRequestBody> for AuthPasskeyRegistrationRequestBody
impl From<&AuthPasskeyRegistrationRequestBody> for AuthPasskeyRegistrationRequestBody
Source§fn from(value: &AuthPasskeyRegistrationRequestBody) -> Self
fn from(value: &AuthPasskeyRegistrationRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthPasskeyRegistrationRequestBody
impl RefUnwindSafe for AuthPasskeyRegistrationRequestBody
impl Send for AuthPasskeyRegistrationRequestBody
impl Sync for AuthPasskeyRegistrationRequestBody
impl Unpin for AuthPasskeyRegistrationRequestBody
impl UnwindSafe for AuthPasskeyRegistrationRequestBody
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