pub struct Confirmation {
pub digest: String,
pub triad_digest: String,
pub by: String,
pub via: Via,
pub basis: Basis,
pub at: u64,
}Expand description
The person’s one confirmation, bound to what they saw.
Fields§
§digest: Stringsha256:<hex> over the reproductions shown (their files and
statement ids).
triad_digest: StringThe triad’s digest when confirmed: a different one lapses this.
by: StringWho.
via: ViaThrough what.
basis: BasisSeen or named.
at: u64Unix seconds.
Implementations§
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
Source§impl Debug for Confirmation
impl Debug for Confirmation
Source§impl<'de> Deserialize<'de> for Confirmation
impl<'de> Deserialize<'de> for Confirmation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Confirmation
Source§impl JsonSchema for Confirmation
impl JsonSchema for Confirmation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Confirmation
impl PartialEq for Confirmation
Source§impl Serialize for Confirmation
impl Serialize for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Freeze for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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