pub struct Waiting {
pub shown: String,
pub peer: Option<String>,
pub seen_unix: Option<i64>,
}Expand description
Something an authenticator was shown and did not know, kept so that whoever runs the service can accept it as an account.
Fields§
§shown: StringWhat it showed, as it is given to AccountPut::secret to accept it: a
certificate fingerprint.
peer: Option<String>The address it came from.
seen_unix: Option<i64>When it last did, in seconds since the Unix epoch.
Trait Implementations§
impl Eq for Waiting
Source§impl FromValue for Waiting
impl FromValue for Waiting
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 Schema for Waiting
impl Schema for Waiting
impl StructuralPartialEq for Waiting
Auto Trait Implementations§
impl Freeze for Waiting
impl RefUnwindSafe for Waiting
impl Send for Waiting
impl Sync for Waiting
impl Unpin for Waiting
impl UnsafeUnpin for Waiting
impl UnwindSafe for Waiting
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