pub struct AccountInfo {
pub id: String,
pub name: String,
pub groups: Vec<String>,
pub disabled: Option<bool>,
pub made_unix: Option<i64>,
pub expires_unix: Option<i64>,
pub reset: Option<bool>,
pub unlocked_unix: Option<i64>,
pub credentials: Option<Vec<CredentialInfo>>,
}Expand description
An account as a provider that keeps its own lists it; never with what proves it.
Fields§
§id: StringStable identity, the Person::id a directory returns for it.
name: StringCanonical account name.
groups: Vec<String>Groups the account is in.
disabled: Option<bool>Whether it is refused for now.
made_unix: Option<i64>When it was made, in seconds since the Unix epoch, where the provider keeps it.
expires_unix: Option<i64>When it stops being taken, in seconds since the Unix epoch, where the provider keeps one.
reset: Option<bool>Whether an administrator reset the account (its factor was taken away and only an administrator sets it up again), where the provider keeps that. Absent when the provider keeps no such mark.
unlocked_unix: Option<i64>When an administrator last cleared the account’s failure counts, in seconds since the Unix epoch, where the provider keeps it.
credentials: Option<Vec<CredentialInfo>>The credentials of an account that holds several (passkeys); None for a provider whose
accounts hold one.
Trait Implementations§
Source§impl Clone for AccountInfo
impl Clone for AccountInfo
Source§impl Debug for AccountInfo
impl Debug for AccountInfo
Source§impl Default for AccountInfo
impl Default for AccountInfo
impl Eq for AccountInfo
Source§impl FromValue for AccountInfo
impl FromValue for AccountInfo
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
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.