pub trait AuthPasskey:
Clone
+ Send
+ Sync
+ Serialize
+ Debug
+ 'static {
Show 13 methods
// Required methods
fn id(&self) -> Cow<'_, str>;
fn name(&self) -> Option<&str>;
fn public_key(&self) -> &str;
fn user_id(&self) -> Cow<'_, 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>;
fn updated_at(&self) -> DateTime<Utc>;
fn aaguid(&self) -> Option<&str>;
fn credential(&self) -> &str;
}Expand description
Trait representing a passkey entity.
Required Methods§
fn id(&self) -> Cow<'_, str>
fn name(&self) -> Option<&str>
fn public_key(&self) -> &str
fn user_id(&self) -> Cow<'_, 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>
fn updated_at(&self) -> DateTime<Utc>
fn aaguid(&self) -> Option<&str>
fn credential(&self) -> &str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".