Skip to main content

AuthPasskey

Trait AuthPasskey 

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

Source

fn id(&self) -> Cow<'_, str>

Source

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

Source

fn public_key(&self) -> &str

Source

fn user_id(&self) -> Cow<'_, 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>

Source

fn updated_at(&self) -> DateTime<Utc>

Source

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

Source

fn credential(&self) -> &str

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§