pub struct ConsistencyProof {
pub old_size: u64,
pub new_size: u64,
pub path: Vec<Hash>,
}Expand description
Proof that a smaller log is a prefix of a larger one.
Fields§
§old_size: u64§new_size: u64§path: Vec<Hash>Trait Implementations§
Source§impl Clone for ConsistencyProof
impl Clone for ConsistencyProof
Source§fn clone(&self) -> ConsistencyProof
fn clone(&self) -> ConsistencyProof
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 ConsistencyProof
impl Debug for ConsistencyProof
impl Eq for ConsistencyProof
Source§impl PartialEq for ConsistencyProof
impl PartialEq for ConsistencyProof
impl StructuralPartialEq for ConsistencyProof
Auto Trait Implementations§
impl Freeze for ConsistencyProof
impl RefUnwindSafe for ConsistencyProof
impl Send for ConsistencyProof
impl Sync for ConsistencyProof
impl Unpin for ConsistencyProof
impl UnsafeUnpin for ConsistencyProof
impl UnwindSafe for ConsistencyProof
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