pub struct CheckpointEquivocation {
pub schema: String,
pub kind: CheckpointEquivocationKind,
pub log_id: Option<String>,
pub log_tree_size: Option<u64>,
pub first_checkpoint_seq: u64,
pub second_checkpoint_seq: u64,
pub first_checkpoint_sha256: String,
pub second_checkpoint_sha256: String,
pub previous_checkpoint_sha256: Option<String>,
}Expand description
A deterministic conflict record derived from multiple checkpoint statements.
Fields§
§schema: StringSchema identifier for derived equivocation records.
kind: CheckpointEquivocationKindWhich transparency rule was violated.
log_id: Option<String>Local log identity when the conflict can be tied to one derived log.
log_tree_size: Option<u64>Shared cumulative log size when the conflict is a tree-size fork.
first_checkpoint_seq: u64The first conflicting checkpoint sequence.
second_checkpoint_seq: u64The second conflicting checkpoint sequence.
first_checkpoint_sha256: StringCanonical SHA-256 digest of the first checkpoint body.
second_checkpoint_sha256: StringCanonical SHA-256 digest of the second checkpoint body.
previous_checkpoint_sha256: Option<String>Shared predecessor digest when the conflict is a witness fork.
Trait Implementations§
Source§impl Clone for CheckpointEquivocation
impl Clone for CheckpointEquivocation
Source§fn clone(&self) -> CheckpointEquivocation
fn clone(&self) -> CheckpointEquivocation
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 CheckpointEquivocation
impl Debug for CheckpointEquivocation
Source§impl<'de> Deserialize<'de> for CheckpointEquivocation
impl<'de> Deserialize<'de> for CheckpointEquivocation
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 Ord for CheckpointEquivocation
impl Ord for CheckpointEquivocation
Source§fn cmp(&self, other: &CheckpointEquivocation) -> Ordering
fn cmp(&self, other: &CheckpointEquivocation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CheckpointEquivocation
impl PartialEq for CheckpointEquivocation
Source§impl PartialOrd for CheckpointEquivocation
impl PartialOrd for CheckpointEquivocation
Source§impl Serialize for CheckpointEquivocation
impl Serialize for CheckpointEquivocation
impl Eq for CheckpointEquivocation
impl StructuralPartialEq for CheckpointEquivocation
Auto Trait Implementations§
impl Freeze for CheckpointEquivocation
impl RefUnwindSafe for CheckpointEquivocation
impl Send for CheckpointEquivocation
impl Sync for CheckpointEquivocation
impl Unpin for CheckpointEquivocation
impl UnsafeUnpin for CheckpointEquivocation
impl UnwindSafe for CheckpointEquivocation
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> Comparable<K> for Q
impl<Q, K> Comparable<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.