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 Default for PasskeyAuthenticatorSelection
impl Default for PasskeyAuthenticatorSelection
Source§fn default() -> PasskeyAuthenticatorSelection
fn default() -> PasskeyAuthenticatorSelection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PasskeyAuthenticatorSelection
impl<'de> Deserialize<'de> for PasskeyAuthenticatorSelection
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorSelection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PasskeyAuthenticatorSelection, <__D as Deserializer<'de>>::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) -> PasskeyAuthenticatorSelection
fn from(value: &PasskeyAuthenticatorSelection) -> PasskeyAuthenticatorSelection
Converts to this type from the input type.
Source§impl Serialize for PasskeyAuthenticatorSelection
impl Serialize for PasskeyAuthenticatorSelection
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 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