Struct akd::HistoryProof
source · pub struct HistoryProof {
pub update_proofs: Vec<UpdateProof, Global>,
pub until_marker_vrf_proofs: Vec<Vec<u8, Global>, Global>,
pub non_existence_until_marker_proofs: Vec<NonMembershipProof, Global>,
pub future_marker_vrf_proofs: Vec<Vec<u8, Global>, Global>,
pub non_existence_of_future_marker_proofs: Vec<NonMembershipProof, Global>,
}
Expand description
This proof is just an array of UpdateProof
s.
Fields§
§update_proofs: Vec<UpdateProof, Global>
The update proofs in the key history
until_marker_vrf_proofs: Vec<Vec<u8, Global>, Global>
VRF Proofs for the labels of the values until the next marker version
non_existence_until_marker_proofs: Vec<NonMembershipProof, Global>
Proof that the values until the next marker version did not exist at this time
future_marker_vrf_proofs: Vec<Vec<u8, Global>, Global>
VRF proofs for the labels of future marker entries
non_existence_of_future_marker_proofs: Vec<NonMembershipProof, Global>
Proof that future markers did not exist
Trait Implementations§
source§impl Clone for HistoryProof
impl Clone for HistoryProof
source§fn clone(&self) -> HistoryProof
fn clone(&self) -> HistoryProof
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 HistoryProof
impl Debug for HistoryProof
source§impl From<&HistoryProof> for HistoryProof
impl From<&HistoryProof> for HistoryProof
source§fn from(input: &HistoryProof) -> HistoryProof
fn from(input: &HistoryProof) -> HistoryProof
Converts to this type from the input type.
source§impl PartialEq<HistoryProof> for HistoryProof
impl PartialEq<HistoryProof> for HistoryProof
source§fn eq(&self, other: &HistoryProof) -> bool
fn eq(&self, other: &HistoryProof) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&HistoryProof> for HistoryProof
impl TryFrom<&HistoryProof> for HistoryProof
§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
source§fn try_from(
input: &HistoryProof
) -> Result<HistoryProof, <HistoryProof as TryFrom<&HistoryProof>>::Error>
fn try_from( input: &HistoryProof ) -> Result<HistoryProof, <HistoryProof as TryFrom<&HistoryProof>>::Error>
Performs the conversion.