pub struct PasskeyPubKeyCredParam {
pub alg: f64,
pub type_: PasskeyPubKeyCredParamType,
}Expand description
A public key credential parameter specifying the algorithm and credential type.
JSON schema
{
"title": "PasskeyPubKeyCredParam",
"description": "A public key credential parameter specifying the
algorithm and credential type.",
"type": "object",
"required": [
"alg",
"type"
],
"properties": {
"alg": {
"type": "number"
},
"type": {
"type": "string",
"enum": [
"public-key"
]
}
},
"x-stainless-model": "client_auth.passkey_pub_key_cred_param"
}Fields§
§alg: f64§type_: PasskeyPubKeyCredParamTypeTrait Implementations§
Source§impl Clone for PasskeyPubKeyCredParam
impl Clone for PasskeyPubKeyCredParam
Source§fn clone(&self) -> PasskeyPubKeyCredParam
fn clone(&self) -> PasskeyPubKeyCredParam
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 Debug for PasskeyPubKeyCredParam
impl Debug for PasskeyPubKeyCredParam
Source§impl<'de> Deserialize<'de> for PasskeyPubKeyCredParam
impl<'de> Deserialize<'de> for PasskeyPubKeyCredParam
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<&PasskeyPubKeyCredParam> for PasskeyPubKeyCredParam
impl From<&PasskeyPubKeyCredParam> for PasskeyPubKeyCredParam
Source§fn from(value: &PasskeyPubKeyCredParam) -> Self
fn from(value: &PasskeyPubKeyCredParam) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyPubKeyCredParam
impl RefUnwindSafe for PasskeyPubKeyCredParam
impl Send for PasskeyPubKeyCredParam
impl Sync for PasskeyPubKeyCredParam
impl Unpin for PasskeyPubKeyCredParam
impl UnsafeUnpin for PasskeyPubKeyCredParam
impl UnwindSafe for PasskeyPubKeyCredParam
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