#[non_exhaustive]pub struct Unaccepted {
pub fingerprint: PeerId,
pub peer: Option<String>,
pub seen_unix: i64,
}Expand description
A fingerprint shown to the service that nobody has accepted, keyed by
fingerprint.
It derives guatiao’s ToValue, FromValue and Schema, so a [Table] may keep it in
any format.
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.fingerprint: PeerIdThe fingerprint: written in its canonical form, read in any spelling coqui-peer-tls
reads.
peer: Option<String>The address it was shown from, when known.
seen_unix: i64When it was last written down, in seconds since the Unix epoch.
Implementations§
Trait Implementations§
Source§impl Clone for Unaccepted
impl Clone for Unaccepted
Source§impl Debug for Unaccepted
impl Debug for Unaccepted
impl Eq for Unaccepted
Source§impl FromValue for Unaccepted
impl FromValue for Unaccepted
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 Unaccepted
impl FromWalk for Unaccepted
Source§impl Keyed for Unaccepted
impl Keyed for Unaccepted
Source§impl MapRead for Unaccepted
impl MapRead for Unaccepted
Source§impl PartialEq for Unaccepted
impl PartialEq for Unaccepted
Source§impl Schema for Unaccepted
impl Schema for Unaccepted
impl StructuralPartialEq for Unaccepted
Source§impl ToValue for Unaccepted
impl ToValue for Unaccepted
Auto Trait Implementations§
impl Freeze for Unaccepted
impl RefUnwindSafe for Unaccepted
impl Send for Unaccepted
impl Sync for Unaccepted
impl Unpin for Unaccepted
impl UnsafeUnpin for Unaccepted
impl UnwindSafe for Unaccepted
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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
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.