pub struct TableHistory {
pub entries: Vec<HistoryEntry>,
pub scanned: Vec<PathBuf>,
}Expand description
Every version of one key, with the files that were read to find them — the answer of
Table::history.
Fields§
§entries: Vec<HistoryEntry>Oldest first, ordered by seq, so a key that moved between partitions still reads as one
history rather than as one list per file.
scanned: Vec<PathBuf>The log files scanned, in partition-name order. Reported because the scan is the cost of the call, and on a partitioned table it says which file each version came from.
Trait Implementations§
Source§impl Clone for TableHistory
impl Clone for TableHistory
Source§impl Debug for TableHistory
impl Debug for TableHistory
Source§impl PartialEq for TableHistory
impl PartialEq for TableHistory
impl StructuralPartialEq for TableHistory
Auto Trait Implementations§
impl Freeze for TableHistory
impl RefUnwindSafe for TableHistory
impl Send for TableHistory
impl Sync for TableHistory
impl Unpin for TableHistory
impl UnsafeUnpin for TableHistory
impl UnwindSafe for TableHistory
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