pub struct MerkleProofNode {
pub sibling_hash: String,
pub direction: MerkleDirection,
}Expand description
One step in a Merkle inclusion proof path.
Fields§
§sibling_hash: Stringblake3:-prefixed hex of the sibling hash at this level.
direction: MerkleDirectionDirection of the sibling relative to the current node.
Trait Implementations§
Source§impl Clone for MerkleProofNode
impl Clone for MerkleProofNode
Source§impl Debug for MerkleProofNode
impl Debug for MerkleProofNode
Source§impl<'de> Deserialize<'de> for MerkleProofNode
impl<'de> Deserialize<'de> for MerkleProofNode
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 MerkleProofNode
Source§impl PartialEq for MerkleProofNode
impl PartialEq for MerkleProofNode
Source§impl Serialize for MerkleProofNode
impl Serialize for MerkleProofNode
impl StructuralPartialEq for MerkleProofNode
Auto Trait Implementations§
impl Freeze for MerkleProofNode
impl RefUnwindSafe for MerkleProofNode
impl Send for MerkleProofNode
impl Sync for MerkleProofNode
impl Unpin for MerkleProofNode
impl UnsafeUnpin for MerkleProofNode
impl UnwindSafe for MerkleProofNode
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