pub struct ChainReport {
pub holds: bool,
pub entries: u64,
pub tip_hash: String,
pub anchor_seq: Option<u64>,
pub broken_at_seq: Option<u64>,
pub what: String,
}Expand description
Does the chain hold?
Fields§
§holds: boolThe chain verifies from its anchor (or genesis) to its tip.
entries: u64How many entries were checked.
tip_hash: StringThe newest entry’s hash (the anchor’s, or genesis, when there is none).
anchor_seq: Option<u64>The last entry retention dropped, whose hash the first kept entry names.
broken_at_seq: Option<u64>The first entry that does not hold, when one does not.
what: StringWhy, in a sentence; empty when it holds.
Trait Implementations§
Source§impl Clone for ChainReport
impl Clone for ChainReport
Source§impl Debug for ChainReport
impl Debug for ChainReport
Source§impl Default for ChainReport
impl Default for ChainReport
impl Eq for ChainReport
Source§impl PartialEq for ChainReport
impl PartialEq for ChainReport
impl StructuralPartialEq for ChainReport
Auto Trait Implementations§
impl Freeze for ChainReport
impl RefUnwindSafe for ChainReport
impl Send for ChainReport
impl Sync for ChainReport
impl Unpin for ChainReport
impl UnsafeUnpin for ChainReport
impl UnwindSafe for ChainReport
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
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,
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.