pub struct LinkedAccountPasskey {
pub authenticator_name: Option<String>,
pub created_with_browser: Option<String>,
pub created_with_device: Option<String>,
pub created_with_os: Option<String>,
pub credential_id: String,
pub enrolled_in_mfa: bool,
pub first_verified_at: Option<f64>,
pub latest_verified_at: Option<f64>,
pub public_key: Option<String>,
pub type_: LinkedAccountPasskeyType,
pub verified_at: f64,
}Expand description
LinkedAccountPasskey
JSON schema
{
"title": "Passkey",
"type": "object",
"required": [
"credential_id",
"enrolled_in_mfa",
"first_verified_at",
"latest_verified_at",
"type",
"verified_at"
],
"properties": {
"authenticator_name": {
"type": "string"
},
"created_with_browser": {
"type": "string"
},
"created_with_device": {
"type": "string"
},
"created_with_os": {
"type": "string"
},
"credential_id": {
"type": "string"
},
"enrolled_in_mfa": {
"type": "boolean"
},
"first_verified_at": {
"type": [
"number",
"null"
]
},
"latest_verified_at": {
"type": [
"number",
"null"
]
},
"public_key": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"passkey"
]
},
"verified_at": {
"type": "number"
}
}
}Fields§
§authenticator_name: Option<String>§created_with_browser: Option<String>§created_with_device: Option<String>§created_with_os: Option<String>§credential_id: String§enrolled_in_mfa: bool§first_verified_at: Option<f64>§latest_verified_at: Option<f64>§public_key: Option<String>§type_: LinkedAccountPasskeyType§verified_at: f64Trait Implementations§
Source§impl Clone for LinkedAccountPasskey
impl Clone for LinkedAccountPasskey
Source§fn clone(&self) -> LinkedAccountPasskey
fn clone(&self) -> LinkedAccountPasskey
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 Debug for LinkedAccountPasskey
impl Debug for LinkedAccountPasskey
Source§impl<'de> Deserialize<'de> for LinkedAccountPasskey
impl<'de> Deserialize<'de> for LinkedAccountPasskey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountPasskey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountPasskey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountPasskey> for LinkedAccountPasskey
impl From<&LinkedAccountPasskey> for LinkedAccountPasskey
Source§fn from(value: &LinkedAccountPasskey) -> LinkedAccountPasskey
fn from(value: &LinkedAccountPasskey) -> LinkedAccountPasskey
Converts to this type from the input type.
Source§impl From<LinkedAccountPasskey> for LinkedAccount
impl From<LinkedAccountPasskey> for LinkedAccount
Source§fn from(value: LinkedAccountPasskey) -> LinkedAccount
fn from(value: LinkedAccountPasskey) -> LinkedAccount
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountPasskey
impl Serialize for LinkedAccountPasskey
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 LinkedAccountPasskey
impl RefUnwindSafe for LinkedAccountPasskey
impl Send for LinkedAccountPasskey
impl Sync for LinkedAccountPasskey
impl Unpin for LinkedAccountPasskey
impl UnwindSafe for LinkedAccountPasskey
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