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<'de> Deserialize<'de> for AppendOnlyProof
impl<'de> Deserialize<'de> for AppendOnlyProof
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<AppendOnlyProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<AppendOnlyProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
source§impl Serialize for AppendOnlyProof
impl Serialize for AppendOnlyProof
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.