pub enum MerkleProofEntry {
LeftChild(Hash256),
RightChild(Hash256),
OnlyChild,
}Variants§
Trait Implementations§
source§impl Clone for MerkleProofEntry
impl Clone for MerkleProofEntry
source§fn clone(&self) -> MerkleProofEntry
fn clone(&self) -> MerkleProofEntry
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 MerkleProofEntry
impl Debug for MerkleProofEntry
source§impl<'de> Deserialize<'de> for MerkleProofEntry
impl<'de> Deserialize<'de> for MerkleProofEntry
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
source§impl PartialEq<MerkleProofEntry> for MerkleProofEntry
impl PartialEq<MerkleProofEntry> for MerkleProofEntry
source§fn eq(&self, other: &MerkleProofEntry) -> bool
fn eq(&self, other: &MerkleProofEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MerkleProofEntry
impl Serialize for MerkleProofEntry
impl Eq for MerkleProofEntry
impl StructuralEq for MerkleProofEntry
impl StructuralPartialEq for MerkleProofEntry
Auto Trait Implementations§
impl RefUnwindSafe for MerkleProofEntry
impl Send for MerkleProofEntry
impl Sync for MerkleProofEntry
impl Unpin for MerkleProofEntry
impl UnwindSafe for MerkleProofEntry
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.