pub enum HistoryAccessType {
Tail {
n: u64,
},
Range {
session: i64,
start: u64,
stop: u64,
},
Search {
pattern: String,
},
}
Expand description
Type of history requested.
Variants
Tail
Fields
n: u64
Number of cells requested.
Get the last n
cells.
Range
Get the range of cells associated with a session within a range.
Search
Fields
pattern: String
Pattern to search for.
Search for history items matching a pattern.
Trait Implementations
sourceimpl Debug for HistoryAccessType
impl Debug for HistoryAccessType
sourceimpl Serialize for HistoryAccessType
impl Serialize for HistoryAccessType
Auto Trait Implementations
impl RefUnwindSafe for HistoryAccessType
impl Send for HistoryAccessType
impl Sync for HistoryAccessType
impl Unpin for HistoryAccessType
impl UnwindSafe for HistoryAccessType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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