pub struct PasskeyInitLinkResponseBodyOptions {
pub attestation: Option<String>,
pub authenticator_selection: Option<PasskeyInitLinkResponseBodyOptionsAuthenticatorSelection>,
pub challenge: String,
pub exclude_credentials: Vec<PasskeyInitLinkResponseBodyOptionsExcludeCredentialsItem>,
pub extensions: Option<PasskeyInitLinkResponseBodyOptionsExtensions>,
pub pub_key_cred_params: Vec<PasskeyInitLinkResponseBodyOptionsPubKeyCredParamsItem>,
pub rp: PasskeyInitLinkResponseBodyOptionsRp,
pub timeout: Option<f64>,
pub user: PasskeyInitLinkResponseBodyOptionsUser,
}Expand description
PasskeyInitLinkResponseBodyOptions
JSON schema
{
"type": "object",
"required": [
"challenge",
"pub_key_cred_params",
"rp",
"user"
],
"properties": {
"attestation": {
"type": "string"
},
"authenticator_selection": {
"type": "object",
"properties": {
"authenticator_attachment": {
"type": "string"
},
"require_resident_key": {
"type": "boolean"
},
"resident_key": {
"type": "string"
},
"user_verification": {
"type": "string"
}
}
},
"challenge": {
"type": "string"
},
"exclude_credentials": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"type"
],
"properties": {
"id": {
"type": "string"
},
"transports": {
"type": "array",
"items": {
"type": "string"
}
},
"type": {
"type": "string"
}
}
}
},
"extensions": {
"type": "object",
"properties": {
"app_id": {
"type": "string"
},
"cred_props": {
"type": "object",
"properties": {
"rk": {
"type": "boolean"
}
}
},
"hmac_create_secret": {
"type": "boolean"
}
}
},
"pub_key_cred_params": {
"type": "array",
"items": {
"type": "object",
"required": [
"alg",
"type"
],
"properties": {
"alg": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"public-key"
]
}
}
}
},
"rp": {
"type": "object",
"required": [
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"timeout": {
"type": "number"
},
"user": {
"type": "object",
"required": [
"display_name",
"id",
"name"
],
"properties": {
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}Fields§
§attestation: Option<String>§authenticator_selection: Option<PasskeyInitLinkResponseBodyOptionsAuthenticatorSelection>§challenge: String§exclude_credentials: Vec<PasskeyInitLinkResponseBodyOptionsExcludeCredentialsItem>§extensions: Option<PasskeyInitLinkResponseBodyOptionsExtensions>§pub_key_cred_params: Vec<PasskeyInitLinkResponseBodyOptionsPubKeyCredParamsItem>§rp: PasskeyInitLinkResponseBodyOptionsRp§timeout: Option<f64>§user: PasskeyInitLinkResponseBodyOptionsUserTrait Implementations§
Source§impl Clone for PasskeyInitLinkResponseBodyOptions
impl Clone for PasskeyInitLinkResponseBodyOptions
Source§fn clone(&self) -> PasskeyInitLinkResponseBodyOptions
fn clone(&self) -> PasskeyInitLinkResponseBodyOptions
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 PasskeyInitLinkResponseBodyOptions
impl<'de> Deserialize<'de> for PasskeyInitLinkResponseBodyOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyInitLinkResponseBodyOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyInitLinkResponseBodyOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&PasskeyInitLinkResponseBodyOptions> for PasskeyInitLinkResponseBodyOptions
impl From<&PasskeyInitLinkResponseBodyOptions> for PasskeyInitLinkResponseBodyOptions
Source§fn from(
value: &PasskeyInitLinkResponseBodyOptions,
) -> PasskeyInitLinkResponseBodyOptions
fn from( value: &PasskeyInitLinkResponseBodyOptions, ) -> PasskeyInitLinkResponseBodyOptions
Converts to this type from the input type.
Source§impl Serialize for PasskeyInitLinkResponseBodyOptions
impl Serialize for PasskeyInitLinkResponseBodyOptions
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 PasskeyInitLinkResponseBodyOptions
impl RefUnwindSafe for PasskeyInitLinkResponseBodyOptions
impl Send for PasskeyInitLinkResponseBodyOptions
impl Sync for PasskeyInitLinkResponseBodyOptions
impl Unpin for PasskeyInitLinkResponseBodyOptions
impl UnwindSafe for PasskeyInitLinkResponseBodyOptions
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