pub struct Passkey {
pub id: String,
pub name: String,
pub public_key: String,
pub user_id: String,
pub credential_id: String,
pub counter: u64,
pub device_type: String,
pub backed_up: bool,
pub transports: Option<String>,
pub created_at: DateTime<Utc>,
}Expand description
Passkey authentication - matches OpenAPI schema
Fields§
§id: String§name: String§public_key: String§user_id: String§credential_id: String§counter: u64§device_type: String§backed_up: bool§transports: Option<String>§created_at: DateTime<Utc>Trait Implementations§
Source§impl AuthPasskey for Passkey
impl AuthPasskey for Passkey
fn id(&self) -> &str
fn name(&self) -> &str
fn public_key(&self) -> &str
fn user_id(&self) -> &str
fn credential_id(&self) -> &str
fn counter(&self) -> u64
fn device_type(&self) -> &str
fn backed_up(&self) -> bool
fn transports(&self) -> Option<&str>
fn created_at(&self) -> DateTime<Utc>
Source§impl AuthPasskeyMeta for Passkey
impl AuthPasskeyMeta for Passkey
fn table() -> &'static str
fn col_id() -> &'static str
fn col_name() -> &'static str
fn col_public_key() -> &'static str
fn col_user_id() -> &'static str
fn col_credential_id() -> &'static str
fn col_counter() -> &'static str
fn col_device_type() -> &'static str
fn col_backed_up() -> &'static str
fn col_transports() -> &'static str
fn col_created_at() -> &'static str
Source§impl<'de> Deserialize<'de> for Passkey
impl<'de> Deserialize<'de> for Passkey
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Passkey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Passkey, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MemoryPasskey for Passkey
impl MemoryPasskey for Passkey
Source§impl Serialize for Passkey
impl Serialize for Passkey
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 Passkey
impl RefUnwindSafe for Passkey
impl Send for Passkey
impl Sync for Passkey
impl Unpin for Passkey
impl UnsafeUnpin for Passkey
impl UnwindSafe for Passkey
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