pub struct UnlinkPasskeyInput {
pub credential_id: String,
pub remove_as_mfa: bool,
}Expand description
Input for unlinking a passkey credential.
JSON schema
{
"title": "UnlinkPasskeyInput",
"description": "Input for unlinking a passkey credential.",
"type": "object",
"required": [
"credential_id"
],
"properties": {
"credential_id": {
"type": "string"
},
"remove_as_mfa": {
"default": true,
"type": "boolean"
}
},
"x-stainless-model": "client_auth.unlink_passkey_input"
}Fields§
§credential_id: String§remove_as_mfa: boolTrait Implementations§
Source§impl Clone for UnlinkPasskeyInput
impl Clone for UnlinkPasskeyInput
Source§fn clone(&self) -> UnlinkPasskeyInput
fn clone(&self) -> UnlinkPasskeyInput
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 UnlinkPasskeyInput
impl Debug for UnlinkPasskeyInput
Source§impl<'de> Deserialize<'de> for UnlinkPasskeyInput
impl<'de> Deserialize<'de> for UnlinkPasskeyInput
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<&UnlinkPasskeyInput> for UnlinkPasskeyInput
impl From<&UnlinkPasskeyInput> for UnlinkPasskeyInput
Source§fn from(value: &UnlinkPasskeyInput) -> Self
fn from(value: &UnlinkPasskeyInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnlinkPasskeyInput
impl RefUnwindSafe for UnlinkPasskeyInput
impl Send for UnlinkPasskeyInput
impl Sync for UnlinkPasskeyInput
impl Unpin for UnlinkPasskeyInput
impl UnsafeUnpin for UnlinkPasskeyInput
impl UnwindSafe for UnlinkPasskeyInput
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