pub struct GovernanceVerification {
pub public_key: PublicKeyHex,
pub ok: bool,
pub head: Option<GovernanceLogId>,
pub entries: Vec<EntryVerdict>,
}Expand description
A verification of the whole chain
Fields§
§public_key: PublicKeyHex§ok: boolEvery entry’s signature and link verified, and no entry’s content is known to differ from what was attested
head: Option<GovernanceLogId>The last entry in the chain
entries: Vec<EntryVerdict>In chain order
Implementations§
Trait Implementations§
Source§impl Clone for GovernanceVerification
impl Clone for GovernanceVerification
Source§fn clone(&self) -> GovernanceVerification
fn clone(&self) -> GovernanceVerification
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 GovernanceVerification
impl Debug for GovernanceVerification
Source§impl<'de> Deserialize<'de> for GovernanceVerification
impl<'de> Deserialize<'de> for GovernanceVerification
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 GovernanceVerification
Source§impl PartialEq for GovernanceVerification
impl PartialEq for GovernanceVerification
Source§impl Serialize for GovernanceVerification
impl Serialize for GovernanceVerification
impl StructuralPartialEq for GovernanceVerification
Auto Trait Implementations§
impl Freeze for GovernanceVerification
impl RefUnwindSafe for GovernanceVerification
impl Send for GovernanceVerification
impl Sync for GovernanceVerification
impl Unpin for GovernanceVerification
impl UnsafeUnpin for GovernanceVerification
impl UnwindSafe for GovernanceVerification
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