Struct akd_client::LayerProof
source · Expand description
Represents a specific level of the tree with the parental sibling and the direction of the parent for use in tree hash calculations
Fields
label: NodeLabel
The parent’s label
siblings: [Node; 1]
Siblings of the parent
direction: Direction
The direction
Trait Implementations
sourceimpl Clone for LayerProof
impl Clone for LayerProof
sourcefn clone(&self) -> LayerProof
fn clone(&self) -> LayerProof
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LayerProof
impl Debug for LayerProof
sourceimpl PartialEq<LayerProof> for LayerProof
impl PartialEq<LayerProof> for LayerProof
sourcefn eq(&self, other: &LayerProof) -> bool
fn eq(&self, other: &LayerProof) -> bool
impl Eq for LayerProof
impl StructuralEq for LayerProof
impl StructuralPartialEq for LayerProof
Auto Trait Implementations
impl RefUnwindSafe for LayerProof
impl Send for LayerProof
impl Sync for LayerProof
impl Unpin for LayerProof
impl UnwindSafe for LayerProof
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more