Struct akd::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 ==
.impl Eq for VerifyResult
impl StructuralEq for VerifyResult
impl StructuralPartialEq for VerifyResult
Auto Trait Implementations§
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnwindSafe for VerifyResult
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more