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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)