#[non_exhaustive]pub struct AccountPin {
pub name: String,
pub pin: String,
}Expand description
One pin an account holds, as a Table keeps it: the global source of pins.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe account’s name, as its directory gives it ([Person::name]).
pin: StringThe pin, as a line of a pin file has it: sha256:<hex> or spki-sha256:<hex>.
Implementations§
Trait Implementations§
Source§impl Clone for AccountPin
impl Clone for AccountPin
Source§impl Debug for AccountPin
impl Debug for AccountPin
impl Eq for AccountPin
Source§impl FromValue for AccountPin
impl FromValue for AccountPin
Source§const KINDS: Kinds = ::coqui_access::guatiao::Kinds::MAP
const KINDS: Kinds = ::coqui_access::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 AccountPin
impl FromWalk for AccountPin
Source§impl Keyed for AccountPin
impl Keyed for AccountPin
Source§impl MapRead for AccountPin
impl MapRead for AccountPin
Source§impl PartialEq for AccountPin
impl PartialEq for AccountPin
Source§impl Schema for AccountPin
impl Schema for AccountPin
impl StructuralPartialEq for AccountPin
Source§impl ToValue for AccountPin
impl ToValue for AccountPin
Auto Trait Implementations§
impl Freeze for AccountPin
impl RefUnwindSafe for AccountPin
impl Send for AccountPin
impl Sync for AccountPin
impl Unpin for AccountPin
impl UnsafeUnpin for AccountPin
impl UnwindSafe for AccountPin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.