Struct akd::HistoryProof
source · pub struct HistoryProof {
pub update_proofs: Vec<UpdateProof>,
pub until_marker_vrf_proofs: Vec<Vec<u8>>,
pub non_existence_until_marker_proofs: Vec<NonMembershipProof>,
pub future_marker_vrf_proofs: Vec<Vec<u8>>,
pub non_existence_of_future_marker_proofs: Vec<NonMembershipProof>,
}
Expand description
This proof is just an array of UpdateProof
s.
Fields§
§update_proofs: Vec<UpdateProof>
The update proofs in the key history
until_marker_vrf_proofs: Vec<Vec<u8>>
VRF Proofs for the labels of the values until the next marker version
non_existence_until_marker_proofs: Vec<NonMembershipProof>
Proof that the values until the next marker version did not exist at this time
future_marker_vrf_proofs: Vec<Vec<u8>>
VRF proofs for the labels of future marker entries
non_existence_of_future_marker_proofs: Vec<NonMembershipProof>
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 for HistoryProof
impl PartialEq 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.
impl Eq for HistoryProof
impl StructuralPartialEq for HistoryProof
Auto Trait Implementations§
impl Freeze for HistoryProof
impl RefUnwindSafe for HistoryProof
impl Send for HistoryProof
impl Sync for HistoryProof
impl Unpin for HistoryProof
impl UnwindSafe for HistoryProof
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