pub trait AuthPasskey:
Clone
+ Send
+ Sync
+ Serialize
+ Debug
+ 'static {
// Required methods
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>;
}Expand description
Trait representing a passkey entity.
Required Methods§
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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.