Struct diem_types::proof::definition::AccumulatorExtensionProof
source · pub struct AccumulatorExtensionProof<H> { /* private fields */ }
Expand description
A proof that first verifies that establishes correct computation of the root and then returns the new tree to acquire a new root and version.
Implementations§
Trait Implementations§
source§impl<H: Clone> Clone for AccumulatorExtensionProof<H>
impl<H: Clone> Clone for AccumulatorExtensionProof<H>
source§fn clone(&self) -> AccumulatorExtensionProof<H>
fn clone(&self) -> AccumulatorExtensionProof<H>
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<H: Debug> Debug for AccumulatorExtensionProof<H>
impl<H: Debug> Debug for AccumulatorExtensionProof<H>
source§impl<'de, H> Deserialize<'de> for AccumulatorExtensionProof<H>
impl<'de, H> Deserialize<'de> for AccumulatorExtensionProof<H>
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<H: PartialEq> PartialEq<AccumulatorExtensionProof<H>> for AccumulatorExtensionProof<H>
impl<H: PartialEq> PartialEq<AccumulatorExtensionProof<H>> for AccumulatorExtensionProof<H>
source§fn eq(&self, other: &AccumulatorExtensionProof<H>) -> bool
fn eq(&self, other: &AccumulatorExtensionProof<H>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<H> Serialize for AccumulatorExtensionProof<H>
impl<H> Serialize for AccumulatorExtensionProof<H>
impl<H: Eq> Eq for AccumulatorExtensionProof<H>
impl<H> StructuralEq for AccumulatorExtensionProof<H>
impl<H> StructuralPartialEq for AccumulatorExtensionProof<H>
Auto Trait Implementations§
impl<H> RefUnwindSafe for AccumulatorExtensionProof<H>where H: RefUnwindSafe,
impl<H> Send for AccumulatorExtensionProof<H>where H: Send,
impl<H> Sync for AccumulatorExtensionProof<H>where H: Sync,
impl<H> Unpin for AccumulatorExtensionProof<H>where H: Unpin,
impl<H> UnwindSafe for AccumulatorExtensionProof<H>where H: UnwindSafe,
Blanket Implementations§
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.source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.