pub struct GovernanceVerificationSummary {Show 16 fields
pub public_key: PublicKeyHex,
pub ok: bool,
pub head: Option<GovernanceLogId>,
pub entries: u64,
pub signature_failures: u64,
pub link_failures: u64,
pub content_mismatches: u64,
pub problems: u64,
pub retroactive: u64,
pub redacted: u64,
pub failed: Vec<GovernanceLogId>,
pub first_failure: Option<EntryVerdict>,
pub keys: Vec<GovernanceKeyRecord>,
pub unanchored_keys: Vec<PublicKeyHex>,
pub repudiated: Vec<GovernanceLogId>,
pub how_to_read: String,
}Expand description
A GovernanceVerification without one verdict per entry: what
verify_governance_log returns unless asked for full (0.91.4). The
check behind it is the whole one; only the report is shorter.
Fields§
§public_key: PublicKeyHex§ok: bool§head: Option<GovernanceLogId>The last entry in the chain
entries: u64Entries checked
signature_failures: u64Entries whose signature did not verify
link_failures: u64Entries whose hash link did not verify
content_mismatches: u64Entries whose content no longer hashes to what was attested
problems: u64Entries with a problem
retroactive: u64Entries signed well after they were recorded
redacted: u64Entries a redaction names
failed: Vec<GovernanceLogId>Every entry that failed a check or has a problem, in chain order
first_failure: Option<EntryVerdict>The first of them, verdict in full
keys: Vec<GovernanceKeyRecord>§unanchored_keys: Vec<PublicKeyHex>§repudiated: Vec<GovernanceLogId>§how_to_read: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for GovernanceVerificationSummary
impl<'de> Deserialize<'de> for GovernanceVerificationSummary
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 GovernanceVerificationSummary
impl StructuralPartialEq for GovernanceVerificationSummary
Auto Trait Implementations§
impl Freeze for GovernanceVerificationSummary
impl RefUnwindSafe for GovernanceVerificationSummary
impl Send for GovernanceVerificationSummary
impl Sync for GovernanceVerificationSummary
impl Unpin for GovernanceVerificationSummary
impl UnsafeUnpin for GovernanceVerificationSummary
impl UnwindSafe for GovernanceVerificationSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.