Enum akd::directory::HistoryParams
source · pub enum HistoryParams {
Complete,
MostRecent(usize),
SinceEpoch(u64),
}
Expand description
The parameters that dictate how much of the history proof to return to the consumer (either a complete history, or some limited form).
Variants§
Complete
Returns a complete history for a label
MostRecent(usize)
Returns up to the most recent N updates for a label
SinceEpoch(u64)
Returns all updates since a specified epoch (inclusive)
Trait Implementations§
source§impl Clone for HistoryParams
impl Clone for HistoryParams
source§fn clone(&self) -> HistoryParams
fn clone(&self) -> HistoryParams
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 Default for HistoryParams
impl Default for HistoryParams
impl Copy for HistoryParams
Auto Trait Implementations§
impl RefUnwindSafe for HistoryParams
impl Send for HistoryParams
impl Sync for HistoryParams
impl Unpin for HistoryParams
impl UnwindSafe for HistoryParams
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