pub struct MerkleProof {
pub bitmap: [u8; 32],
pub hashes: Vec<Hash256>,
}
Expand description
Merkle proof of a certain triple (SMT-merkle-root, key, value).
Fields§
§bitmap: [u8; 32]
Whether the siblings along the path to the root are non-default hashes.
hashes: Vec<Hash256>
Trait Implementations§
Source§impl Debug for MerkleProof
impl Debug for MerkleProof
Source§impl PartialEq for MerkleProof
impl PartialEq for MerkleProof
impl Eq for MerkleProof
impl StructuralPartialEq for MerkleProof
Auto Trait Implementations§
impl Freeze for MerkleProof
impl RefUnwindSafe for MerkleProof
impl Send for MerkleProof
impl Sync for MerkleProof
impl Unpin for MerkleProof
impl UnwindSafe for MerkleProof
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