pub struct InclusionProof {
pub log_index: LogIndex,
pub root_hash: Sha256Hash,
pub tree_size: i64,
pub hashes: Vec<Sha256Hash>,
pub checkpoint: CheckpointData,
}Expand description
Inclusion proof in the Merkle tree
Fields§
§log_index: LogIndexIndex of the entry in the log
root_hash: Sha256HashRoot hash of the tree
tree_size: i64Tree size at time of proof
hashes: Vec<Sha256Hash>Hashes in the inclusion proof path
checkpoint: CheckpointDataCheckpoint (signed tree head) - optional
Trait Implementations§
Source§impl Clone for InclusionProof
impl Clone for InclusionProof
Source§fn clone(&self) -> InclusionProof
fn clone(&self) -> InclusionProof
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 InclusionProof
impl Debug for InclusionProof
Source§impl<'de> Deserialize<'de> for InclusionProof
impl<'de> Deserialize<'de> for InclusionProof
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 InclusionProof
impl PartialEq for InclusionProof
Source§impl Serialize for InclusionProof
impl Serialize for InclusionProof
impl StructuralPartialEq for InclusionProof
Auto Trait Implementations§
impl Freeze for InclusionProof
impl RefUnwindSafe for InclusionProof
impl Send for InclusionProof
impl Sync for InclusionProof
impl Unpin for InclusionProof
impl UnsafeUnpin for InclusionProof
impl UnwindSafe for InclusionProof
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