pub struct PasskeyView {
pub id: Id,
pub name: Option<String>,
pub public_key: String,
pub user_id: Id,
pub credential_id: String,
pub counter: i64,
pub device_type: String,
pub backed_up: bool,
pub transports: Option<String>,
pub created_at: OffsetDateTime,
pub aaguid: Option<String>,
}Expand description
A passkey as clients see it: Better Auth’s row, camelCase, credentialID included.
Fields§
§id: Id§name: Option<String>§public_key: String§user_id: Id§credential_id: String§counter: i64§device_type: String§backed_up: bool§transports: Option<String>§created_at: OffsetDateTime§aaguid: Option<String>Trait Implementations§
Source§impl Clone for PasskeyView
impl Clone for PasskeyView
Source§impl Debug for PasskeyView
impl Debug for PasskeyView
Source§impl From<PasskeyRow> for PasskeyView
impl From<PasskeyRow> for PasskeyView
Source§fn from(row: PasskeyRow) -> Self
fn from(row: PasskeyRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for PasskeyView
impl Freeze for PasskeyView
impl Move for PasskeyView
impl RefUnwindSafe for PasskeyView
impl Send for PasskeyView
impl Sync for PasskeyView
impl Unpin for PasskeyView
impl UnsafeUnpin for PasskeyView
impl UnwindSafe for PasskeyView
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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