Struct akd_client::VerifyResult
source · pub struct VerifyResult {
pub epoch: u64,
pub version: u64,
pub value: AkdValue,
}
Expand description
The payload that is outputted as a result of successful verification of a LookupProof or HistoryProof. This includes the fields containing the epoch that the leaf was published in, the version corresponding to the value, and the value itself.
Fields§
§epoch: u64
The epoch of this record
version: u64
Version at this update
value: AkdValue
The plaintext value associated with the record
Trait Implementations§
source§impl Clone for VerifyResult
impl Clone for VerifyResult
source§fn clone(&self) -> VerifyResult
fn clone(&self) -> VerifyResult
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 VerifyResult
impl Debug for VerifyResult
source§impl PartialEq<VerifyResult> for VerifyResult
impl PartialEq<VerifyResult> for VerifyResult
source§fn eq(&self, other: &VerifyResult) -> bool
fn eq(&self, other: &VerifyResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.