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.