pub struct IndexedChangelogEntry<I, const NET_HEIGHT: usize>where
I: Clone,{
pub element: RawIndexedElement<I>,
pub proof: [[u8; 32]; NET_HEIGHT],
pub changelog_index: usize,
}
Expand description
NET_HEIGHT = HEIGHT - CANOPY_DEPTH
Fields§
§element: RawIndexedElement<I>
Element that was a subject to the change.
proof: [[u8; 32]; NET_HEIGHT]
Merkle proof of that operation.
changelog_index: usize
Index of a changelog entry in ConcurrentMerkleTree
corresponding to
the same operation.
Trait Implementations§
Source§impl<I, const NET_HEIGHT: usize> Clone for IndexedChangelogEntry<I, NET_HEIGHT>
impl<I, const NET_HEIGHT: usize> Clone for IndexedChangelogEntry<I, NET_HEIGHT>
Source§fn clone(&self) -> IndexedChangelogEntry<I, NET_HEIGHT>
fn clone(&self) -> IndexedChangelogEntry<I, NET_HEIGHT>
Returns a duplicate 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, const NET_HEIGHT: usize> Debug for IndexedChangelogEntry<I, NET_HEIGHT>
impl<I, const NET_HEIGHT: usize> Debug for IndexedChangelogEntry<I, NET_HEIGHT>
Source§impl<I, const NET_HEIGHT: usize> PartialEq for IndexedChangelogEntry<I, NET_HEIGHT>
impl<I, const NET_HEIGHT: usize> PartialEq for IndexedChangelogEntry<I, NET_HEIGHT>
Source§fn eq(&self, other: &IndexedChangelogEntry<I, NET_HEIGHT>) -> bool
fn eq(&self, other: &IndexedChangelogEntry<I, NET_HEIGHT>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<I, const NET_HEIGHT: usize> Eq for IndexedChangelogEntry<I, NET_HEIGHT>
impl<I, const NET_HEIGHT: usize> StructuralPartialEq for IndexedChangelogEntry<I, NET_HEIGHT>where
I: Clone,
Auto Trait Implementations§
impl<I, const NET_HEIGHT: usize> Freeze for IndexedChangelogEntry<I, NET_HEIGHT>where
I: Freeze,
impl<I, const NET_HEIGHT: usize> RefUnwindSafe for IndexedChangelogEntry<I, NET_HEIGHT>where
I: RefUnwindSafe,
impl<I, const NET_HEIGHT: usize> Send for IndexedChangelogEntry<I, NET_HEIGHT>where
I: Send,
impl<I, const NET_HEIGHT: usize> Sync for IndexedChangelogEntry<I, NET_HEIGHT>where
I: Sync,
impl<I, const NET_HEIGHT: usize> Unpin for IndexedChangelogEntry<I, NET_HEIGHT>where
I: Unpin,
impl<I, const NET_HEIGHT: usize> UnwindSafe for IndexedChangelogEntry<I, NET_HEIGHT>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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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