Struct akd::MembershipProof
source · pub struct MembershipProof {
pub label: NodeLabel,
pub hash_val: AzksValue,
pub sibling_proofs: Vec<SiblingProof, Global>,
}
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, Global>
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 From<&MembershipProof> for MembershipProof
impl From<&MembershipProof> for MembershipProof
source§fn from(input: &MembershipProof) -> MembershipProof
fn from(input: &MembershipProof) -> MembershipProof
Converts to this type from the input type.
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 ==
.source§impl TryFrom<&MembershipProof> for MembershipProof
impl TryFrom<&MembershipProof> for MembershipProof
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
source§fn try_from(
input: &MembershipProof
) -> Result<MembershipProof, <MembershipProof as TryFrom<&MembershipProof>>::Error>
fn try_from( input: &MembershipProof ) -> Result<MembershipProof, <MembershipProof as TryFrom<&MembershipProof>>::Error>
Performs the conversion.