pub struct PasskeyInitAuthenticateResponseBody {
pub options: PasskeyInitAuthenticateResponseBodyOptions,
pub relying_party: Option<String>,
}Expand description
The response body for initiating a passkey authenticate ceremony.
JSON schema
{
"title": "PasskeyInitAuthenticateResponseBody",
"description": "The response body for initiating a passkey authenticate
ceremony.",
"type": "object",
"required": [
"options"
],
"properties": {
"options": {
"type": "object",
"required": [
"challenge"
],
"properties": {
"allow_credentials": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string"
},
"transports": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string"
}
}
}
},
"challenge": {
"type": "string"
},
"extensions": {
"type": "object",
"properties": {
"app_id": {
"type": "string"
},
"cred_props": {
"type": "boolean"
},
"hmac_create_secret": {
"type": "boolean"
}
}
},
"rp_id": {
"type": "string"
},
"timeout": {
"type": "number"
},
"user_verification": {
"type": "string"
}
}
},
"relying_party": {
"type": "string",
"format": "uri"
}
}
}Fields§
§options: PasskeyInitAuthenticateResponseBodyOptions§relying_party: Option<String>Trait Implementations§
Source§impl Clone for PasskeyInitAuthenticateResponseBody
impl Clone for PasskeyInitAuthenticateResponseBody
Source§fn clone(&self) -> PasskeyInitAuthenticateResponseBody
fn clone(&self) -> PasskeyInitAuthenticateResponseBody
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 PasskeyInitAuthenticateResponseBody
impl<'de> Deserialize<'de> for PasskeyInitAuthenticateResponseBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyInitAuthenticateResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyInitAuthenticateResponseBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PasskeyInitAuthenticateResponseBody> for PasskeyInitAuthenticateResponseBody
impl From<&PasskeyInitAuthenticateResponseBody> for PasskeyInitAuthenticateResponseBody
Source§fn from(
value: &PasskeyInitAuthenticateResponseBody,
) -> PasskeyInitAuthenticateResponseBody
fn from( value: &PasskeyInitAuthenticateResponseBody, ) -> PasskeyInitAuthenticateResponseBody
Converts to this type from the input type.
Source§impl Serialize for PasskeyInitAuthenticateResponseBody
impl Serialize for PasskeyInitAuthenticateResponseBody
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 PasskeyInitAuthenticateResponseBody
impl RefUnwindSafe for PasskeyInitAuthenticateResponseBody
impl Send for PasskeyInitAuthenticateResponseBody
impl Sync for PasskeyInitAuthenticateResponseBody
impl Unpin for PasskeyInitAuthenticateResponseBody
impl UnwindSafe for PasskeyInitAuthenticateResponseBody
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