pub struct CredentialInfo {
pub id: String,
pub label: Option<String>,
pub made_unix: Option<i64>,
pub used_unix: Option<i64>,
pub synced: Option<bool>,
pub disabled: Option<bool>,
}Expand description
One credential of an account that holds several (a passkey), without anything that proves it.
Debug hides the id and the label.
Fields§
§id: StringThe credential’s id, as the provider names it for remove:<id> and label:<id>.
label: Option<String>What the person calls it.
made_unix: Option<i64>When it was made, in seconds since the Unix epoch.
used_unix: Option<i64>When it last signed in, in seconds since the Unix epoch.
synced: Option<bool>Whether it is a passkey the platform syncs between devices.
disabled: Option<bool>Whether it is refused for now.
Trait Implementations§
Source§impl Clone for CredentialInfo
impl Clone for CredentialInfo
Source§impl Debug for CredentialInfo
impl Debug for CredentialInfo
Source§impl Default for CredentialInfo
impl Default for CredentialInfo
impl Eq for CredentialInfo
Source§impl FromValue for CredentialInfo
impl FromValue for CredentialInfo
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for CredentialInfo
impl FromWalk for CredentialInfo
Source§impl MapRead for CredentialInfo
impl MapRead for CredentialInfo
Source§impl PartialEq for CredentialInfo
impl PartialEq for CredentialInfo
Source§impl Schema for CredentialInfo
impl Schema for CredentialInfo
impl StructuralPartialEq for CredentialInfo
Source§impl ToValue for CredentialInfo
impl ToValue for CredentialInfo
Auto Trait Implementations§
impl Freeze for CredentialInfo
impl RefUnwindSafe for CredentialInfo
impl Send for CredentialInfo
impl Sync for CredentialInfo
impl Unpin for CredentialInfo
impl UnsafeUnpin for CredentialInfo
impl UnwindSafe for CredentialInfo
Blanket Implementations§
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