pub struct IndexedChangelogEntry<I>where
I: Clone,{
pub element: RawIndexedElement<I>,
pub proof: BoundedVec<[u8; 32]>,
pub changelog_index: usize,
}Fields§
§element: RawIndexedElement<I>Element that was a subject to the change.
proof: BoundedVec<[u8; 32]>Merkle proof of that operation.
changelog_index: usizeIndex of a changelog entry in ConcurrentMerkleTree corresponding to
the same operation.
Trait Implementations§
source§impl<I> Clone for IndexedChangelogEntry<I>
impl<I> Clone for IndexedChangelogEntry<I>
source§fn clone(&self) -> IndexedChangelogEntry<I>
fn clone(&self) -> IndexedChangelogEntry<I>
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<I> Debug for IndexedChangelogEntry<I>
impl<I> Debug for IndexedChangelogEntry<I>
source§impl<I> PartialEq for IndexedChangelogEntry<I>
impl<I> PartialEq for IndexedChangelogEntry<I>
source§fn eq(&self, other: &IndexedChangelogEntry<I>) -> bool
fn eq(&self, other: &IndexedChangelogEntry<I>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<I> Eq for IndexedChangelogEntry<I>
impl<I> StructuralPartialEq for IndexedChangelogEntry<I>where
I: Clone,
Auto Trait Implementations§
impl<I> Freeze for IndexedChangelogEntry<I>where
I: Freeze,
impl<I> RefUnwindSafe for IndexedChangelogEntry<I>where
I: RefUnwindSafe,
impl<I> !Send for IndexedChangelogEntry<I>
impl<I> !Sync for IndexedChangelogEntry<I>
impl<I> Unpin for IndexedChangelogEntry<I>where
I: Unpin,
impl<I> UnwindSafe for IndexedChangelogEntry<I>where
I: UnwindSafe,
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 Q
impl<Q, K> Equivalent<K> for Q
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more