Struct akd::AppendOnlyProof
source · pub struct AppendOnlyProof {
pub proofs: Vec<SingleAppendOnlyProof, Global>,
pub epochs: Vec<u64, Global>,
}
Expand description
Proof that no leaves were deleted from the initial epoch. This is done using a list of SingleAppendOnly proofs, one proof for each epoch between the initial epoch and final epochs which are being audited.
Fields§
§proofs: Vec<SingleAppendOnlyProof, Global>
Proof for a single epoch being append-only
epochs: Vec<u64, Global>
Epochs over which this audit is being performed
Trait Implementations§
source§impl Clone for AppendOnlyProof
impl Clone for AppendOnlyProof
source§fn clone(&self) -> AppendOnlyProof
fn clone(&self) -> AppendOnlyProof
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 AppendOnlyProof
impl Debug for AppendOnlyProof
source§impl From<&AppendOnlyProof> for AppendOnlyProof
impl From<&AppendOnlyProof> for AppendOnlyProof
source§fn from(input: &AppendOnlyProof) -> AppendOnlyProof
fn from(input: &AppendOnlyProof) -> AppendOnlyProof
Converts to this type from the input type.
source§impl PartialEq<AppendOnlyProof> for AppendOnlyProof
impl PartialEq<AppendOnlyProof> for AppendOnlyProof
source§fn eq(&self, other: &AppendOnlyProof) -> bool
fn eq(&self, other: &AppendOnlyProof) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&AppendOnlyProof> for AppendOnlyProof
impl TryFrom<&AppendOnlyProof> for AppendOnlyProof
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
source§fn try_from(
input: &AppendOnlyProof
) -> Result<AppendOnlyProof, <AppendOnlyProof as TryFrom<&AppendOnlyProof>>::Error>
fn try_from( input: &AppendOnlyProof ) -> Result<AppendOnlyProof, <AppendOnlyProof as TryFrom<&AppendOnlyProof>>::Error>
Performs the conversion.
impl Eq for AppendOnlyProof
impl StructuralEq for AppendOnlyProof
impl StructuralPartialEq for AppendOnlyProof
Auto Trait Implementations§
impl RefUnwindSafe for AppendOnlyProof
impl Send for AppendOnlyProof
impl Sync for AppendOnlyProof
impl Unpin for AppendOnlyProof
impl UnwindSafe for AppendOnlyProof
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more