pub struct CheckpointConsistencyProof {
pub schema: String,
pub log_id: String,
pub from_checkpoint_seq: u64,
pub to_checkpoint_seq: u64,
pub from_checkpoint_sha256: String,
pub to_checkpoint_sha256: String,
pub from_log_tree_size: u64,
pub to_log_tree_size: u64,
pub appended_entry_start_seq: u64,
pub appended_entry_end_seq: u64,
}Expand description
A deterministic prefix-growth proof derived from checkpoint continuity.
Fields§
§schema: StringSchema identifier for derived consistency proof records.
log_id: StringLocal log identity derived from the checkpoint signing key.
from_checkpoint_seq: u64Earlier checkpoint sequence in the proven prefix chain.
to_checkpoint_seq: u64Later checkpoint sequence in the proven prefix chain.
from_checkpoint_sha256: StringCanonical SHA-256 digest of the earlier checkpoint body.
to_checkpoint_sha256: StringCanonical SHA-256 digest of the later checkpoint body.
from_log_tree_size: u64Cumulative log size before the append.
to_log_tree_size: u64Cumulative log size after the append.
appended_entry_start_seq: u64First entry sequence appended by the later checkpoint.
appended_entry_end_seq: u64Last entry sequence appended by the later checkpoint.
Trait Implementations§
Source§impl Clone for CheckpointConsistencyProof
impl Clone for CheckpointConsistencyProof
Source§fn clone(&self) -> CheckpointConsistencyProof
fn clone(&self) -> CheckpointConsistencyProof
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 CheckpointConsistencyProof
impl Debug for CheckpointConsistencyProof
Source§impl<'de> Deserialize<'de> for CheckpointConsistencyProof
impl<'de> Deserialize<'de> for CheckpointConsistencyProof
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 CheckpointConsistencyProof
impl StructuralPartialEq for CheckpointConsistencyProof
Auto Trait Implementations§
impl Freeze for CheckpointConsistencyProof
impl RefUnwindSafe for CheckpointConsistencyProof
impl Send for CheckpointConsistencyProof
impl Sync for CheckpointConsistencyProof
impl Unpin for CheckpointConsistencyProof
impl UnsafeUnpin for CheckpointConsistencyProof
impl UnwindSafe for CheckpointConsistencyProof
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.