pub struct PasskeyAuthenticatorSelection {
pub authenticator_attachment: Option<String>,
pub require_resident_key: Option<bool>,
pub resident_key: Option<String>,
pub user_verification: Option<String>,
}Expand description
Authenticator selection criteria for a WebAuthn registration ceremony.
JSON schema
{
"title": "PasskeyAuthenticatorSelection",
"description": "Authenticator selection criteria for a WebAuthn
registration ceremony.",
"type": "object",
"properties": {
"authenticator_attachment": {
"type": "string"
},
"require_resident_key": {
"type": "boolean"
},
"resident_key": {
"type": "string"
},
"user_verification": {
"type": "string"
}
},
"x-stainless-model": "client_auth.passkey_authenticator_selection"
}Fields§
§authenticator_attachment: Option<String>§require_resident_key: Option<bool>§resident_key: Option<String>§user_verification: Option<String>Trait Implementations§
Source§impl Clone for PasskeyAuthenticatorSelection
impl Clone for PasskeyAuthenticatorSelection
Source§fn clone(&self) -> PasskeyAuthenticatorSelection
fn clone(&self) -> PasskeyAuthenticatorSelection
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 PasskeyAuthenticatorSelection
impl<'de> Deserialize<'de> for PasskeyAuthenticatorSelection
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<&PasskeyAuthenticatorSelection> for PasskeyAuthenticatorSelection
impl From<&PasskeyAuthenticatorSelection> for PasskeyAuthenticatorSelection
Source§fn from(value: &PasskeyAuthenticatorSelection) -> Self
fn from(value: &PasskeyAuthenticatorSelection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasskeyAuthenticatorSelection
impl RefUnwindSafe for PasskeyAuthenticatorSelection
impl Send for PasskeyAuthenticatorSelection
impl Sync for PasskeyAuthenticatorSelection
impl Unpin for PasskeyAuthenticatorSelection
impl UnsafeUnpin for PasskeyAuthenticatorSelection
impl UnwindSafe for PasskeyAuthenticatorSelection
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