Struct akd_core::types::MembershipProof
source · pub struct MembershipProof {
pub label: NodeLabel,
pub hash_val: AzksValue,
pub sibling_proofs: Vec<SiblingProof>,
}
Expand description
Merkle proof of membership of a NodeLabel
with a particular hash
value in the tree at a given epoch
Fields§
§label: NodeLabel
The node label
hash_val: AzksValue
The hash of the value
sibling_proofs: Vec<SiblingProof>
The parents of the node in question
Trait Implementations§
source§impl Clone for MembershipProof
impl Clone for MembershipProof
source§fn clone(&self) -> MembershipProof
fn clone(&self) -> MembershipProof
Returns a copy 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 MembershipProof
impl Debug for MembershipProof
source§impl PartialEq<MembershipProof> for MembershipProof
impl PartialEq<MembershipProof> for MembershipProof
source§fn eq(&self, other: &MembershipProof) -> bool
fn eq(&self, other: &MembershipProof) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.