Struct akd::HistoryProof
source · pub struct HistoryProof {
pub update_proofs: Vec<UpdateProof, Global>,
pub next_few_vrf_proofs: Vec<Vec<u8, Global>, Global>,
pub non_existence_of_next_few: Vec<NonMembershipProof, Global>,
pub future_marker_vrf_proofs: Vec<Vec<u8, Global>, Global>,
pub non_existence_of_future_markers: 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
next_few_vrf_proofs: Vec<Vec<u8, Global>, Global>
VRF Proofs for the labels of the next few values
non_existence_of_next_few: Vec<NonMembershipProof, Global>
Proof that the next few values 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_markers: 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<'de> Deserialize<'de> for HistoryProof
impl<'de> Deserialize<'de> for HistoryProof
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<HistoryProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<HistoryProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
source§impl Serialize for HistoryProof
impl Serialize for HistoryProof
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<&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 StructuralEq for HistoryProof
impl StructuralPartialEq for HistoryProof
Auto Trait Implementations§
impl RefUnwindSafe for HistoryProof
impl Send for HistoryProof
impl Sync for HistoryProof
impl Unpin for HistoryProof
impl UnwindSafe for HistoryProof
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.