Struct fuel_merkle::sparse::proof::ExclusionProof
source · pub struct ExclusionProof {
pub proof_set: ProofSet,
pub leaf: ExclusionLeaf,
}
Fields§
§proof_set: ProofSet
§leaf: ExclusionLeaf
Implementations§
source§impl ExclusionProof
impl ExclusionProof
pub fn verify(&self, root: &Bytes32, key: &MerkleTreeKey) -> bool
Trait Implementations§
source§impl Clone for ExclusionProof
impl Clone for ExclusionProof
source§fn clone(&self) -> ExclusionProof
fn clone(&self) -> ExclusionProof
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 ExclusionProof
impl Debug for ExclusionProof
source§impl PartialEq for ExclusionProof
impl PartialEq for ExclusionProof
source§fn eq(&self, other: &ExclusionProof) -> bool
fn eq(&self, other: &ExclusionProof) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ExclusionProof
impl StructuralPartialEq for ExclusionProof
Auto Trait Implementations§
impl Freeze for ExclusionProof
impl RefUnwindSafe for ExclusionProof
impl Send for ExclusionProof
impl Sync for ExclusionProof
impl Unpin for ExclusionProof
impl UnwindSafe for ExclusionProof
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