pub struct WebauthnCredential {
pub id: Uuid,
pub user_id: Uuid,
pub name: String,
pub aaguid: Option<String>,
pub device_name: Option<String>,
pub credential: Value,
pub created_at: NaiveDateTime,
pub last_used_at: Option<NaiveDateTime>,
}Fields§
§id: Uuid§user_id: Uuid§name: String§aaguid: Option<String>§device_name: Option<String>§credential: Value§created_at: NaiveDateTime§last_used_at: Option<NaiveDateTime>Trait Implementations§
Source§impl Clone for WebauthnCredential
impl Clone for WebauthnCredential
Source§fn clone(&self) -> WebauthnCredential
fn clone(&self) -> WebauthnCredential
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 WebauthnCredential
impl Debug for WebauthnCredential
Source§impl<'de> Deserialize<'de> for WebauthnCredential
impl<'de> Deserialize<'de> for WebauthnCredential
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
Auto Trait Implementations§
impl Freeze for WebauthnCredential
impl RefUnwindSafe for WebauthnCredential
impl Send for WebauthnCredential
impl Sync for WebauthnCredential
impl Unpin for WebauthnCredential
impl UnsafeUnpin for WebauthnCredential
impl UnwindSafe for WebauthnCredential
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