pub struct EntryVerdict {
pub id: GovernanceLogId,
pub chain_seq: u64,
pub signature_valid: bool,
pub link_valid: bool,
pub content_matches: Option<bool>,
pub retroactive: bool,
pub out_of_order: bool,
pub amended_by: Vec<GovernanceLogId>,
pub problem: Option<String>,
}Expand description
The verdict on one entry
Fields§
§id: GovernanceLogId§chain_seq: u64§signature_valid: boolThe signature verifies over entry_hash and signed_at under the
published key
link_valid: boolentry_hash recomputes from the envelope fields, prev_hash is the
previous entry’s entry_hash, and chain_seq is contiguous
content_matches: Option<bool>The entry’s current data hashes to the attested data_hash.
null when the verifier did not read data (the chain endpoint
carries none). false with a clean chain means the content was
changed after attestation — look for an amendment entry naming it.
retroactive: bool§out_of_order: boolcreated_at is earlier than the previous link’s. Informational:
chain order is what is attested, and a clock step does not break it.
amended_by: Vec<GovernanceLogId>Amendment entries that name this one. Empty until amendments exist.
problem: Option<String>What failed, when something did
Trait Implementations§
Source§impl Clone for EntryVerdict
impl Clone for EntryVerdict
Source§fn clone(&self) -> EntryVerdict
fn clone(&self) -> EntryVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryVerdict
impl Debug for EntryVerdict
Source§impl<'de> Deserialize<'de> for EntryVerdict
impl<'de> Deserialize<'de> for EntryVerdict
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 EntryVerdict
Source§impl PartialEq for EntryVerdict
impl PartialEq for EntryVerdict
Source§impl Serialize for EntryVerdict
impl Serialize for EntryVerdict
impl StructuralPartialEq for EntryVerdict
Auto Trait Implementations§
impl Freeze for EntryVerdict
impl RefUnwindSafe for EntryVerdict
impl Send for EntryVerdict
impl Sync for EntryVerdict
impl Unpin for EntryVerdict
impl UnsafeUnpin for EntryVerdict
impl UnwindSafe for EntryVerdict
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