pub struct CheckpointWitness {
pub log_id: String,
pub schema: String,
pub checkpoint_seq: u64,
pub checkpoint_sha256: String,
pub witness_checkpoint_seq: u64,
pub witness_checkpoint_sha256: String,
pub witnessed_at: u64,
}Expand description
A deterministic witness record derived from a checkpoint’s predecessor digest.
Fields§
§log_id: StringLocal log identity derived from the checkpoint signing key.
schema: StringSchema identifier for derived witness records.
checkpoint_seq: u64The checkpoint being witnessed.
checkpoint_sha256: StringCanonical SHA-256 digest of the witnessed checkpoint body.
witness_checkpoint_seq: u64The later checkpoint that cites the witnessed checkpoint digest.
witness_checkpoint_sha256: StringCanonical SHA-256 digest of the witness checkpoint body.
witnessed_at: u64Timestamp from the witness checkpoint body.
Trait Implementations§
Source§impl Clone for CheckpointWitness
impl Clone for CheckpointWitness
Source§fn clone(&self) -> CheckpointWitness
fn clone(&self) -> CheckpointWitness
Returns a duplicate of the value. Read more
1.0.0 · 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 CheckpointWitness
impl Debug for CheckpointWitness
Source§impl<'de> Deserialize<'de> for CheckpointWitness
impl<'de> Deserialize<'de> for CheckpointWitness
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
Source§impl PartialEq for CheckpointWitness
impl PartialEq for CheckpointWitness
Source§impl Serialize for CheckpointWitness
impl Serialize for CheckpointWitness
impl Eq for CheckpointWitness
impl StructuralPartialEq for CheckpointWitness
Auto Trait Implementations§
impl Freeze for CheckpointWitness
impl RefUnwindSafe for CheckpointWitness
impl Send for CheckpointWitness
impl Sync for CheckpointWitness
impl Unpin for CheckpointWitness
impl UnsafeUnpin for CheckpointWitness
impl UnwindSafe for CheckpointWitness
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.