Struct akd::proof_structs::HistoryProof
source · [−]pub struct HistoryProof<H: Hasher> {
pub proofs: Vec<UpdateProof<H>>,
}
Expand description
This proof is just an array of UpdateProof
s.
Fields
proofs: Vec<UpdateProof<H>>
The update proofs in the key history
Trait Implementations
sourceimpl<H: Hasher> Clone for HistoryProof<H>
impl<H: Hasher> Clone for HistoryProof<H>
sourceimpl<H: Debug + Hasher> Debug for HistoryProof<H>
impl<H: Debug + Hasher> Debug for HistoryProof<H>
sourceimpl<H: PartialEq + Hasher> PartialEq<HistoryProof<H>> for HistoryProof<H>
impl<H: PartialEq + Hasher> PartialEq<HistoryProof<H>> for HistoryProof<H>
sourcefn eq(&self, other: &HistoryProof<H>) -> bool
fn eq(&self, other: &HistoryProof<H>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HistoryProof<H>) -> bool
fn ne(&self, other: &HistoryProof<H>) -> bool
This method tests for !=
.
impl<H: Hasher> StructuralPartialEq for HistoryProof<H>
Auto Trait Implementations
impl<H> RefUnwindSafe for HistoryProof<H> where
<H as Hasher>::Digest: RefUnwindSafe,
impl<H> Send for HistoryProof<H>
impl<H> Sync for HistoryProof<H>
impl<H> Unpin for HistoryProof<H> where
<H as Hasher>::Digest: Unpin,
impl<H> UnwindSafe for HistoryProof<H> where
<H as Hasher>::Digest: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more