Skip to main content

AuthPasskey

Trait AuthPasskey 

Source
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§

Source

fn id(&self) -> &str

Source

fn name(&self) -> &str

Source

fn public_key(&self) -> &str

Source

fn user_id(&self) -> &str

Source

fn credential_id(&self) -> &str

Source

fn counter(&self) -> u64

Source

fn device_type(&self) -> &str

Source

fn backed_up(&self) -> bool

Source

fn transports(&self) -> Option<&str>

Source

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.

Implementors§