pub struct HistoryEntry {
pub seq: u64,
pub ts: i64,
pub op: LogOp,
pub partition: String,
pub offset: u64,
pub length: u64,
pub document: Option<HaysonRecord>,
}Expand description
One log line naming a record, as Table::history read it off the file — the version itself,
not the record as the live schema would project it.
Fields§
§seq: u64§ts: i64§op: LogOp§partition: StringThe partition file this line was found in — UNPARTITIONED on a table with no
partitionBy, and on one whose declared split has not run yet.
offset: u64§length: u64§document: Option<HaysonRecord>The record exactly as the line stores it: None for a tombstone, and for a put still
carrying whatever the schema of the day wrote — a sealed cypher envelope is not opened and
a since-dropped field is not projected away.
Trait Implementations§
Source§impl Clone for HistoryEntry
impl Clone for HistoryEntry
Source§impl Debug for HistoryEntry
impl Debug for HistoryEntry
Source§impl PartialEq for HistoryEntry
impl PartialEq for HistoryEntry
impl StructuralPartialEq for HistoryEntry
Auto Trait Implementations§
impl Freeze for HistoryEntry
impl RefUnwindSafe for HistoryEntry
impl Send for HistoryEntry
impl Sync for HistoryEntry
impl Unpin for HistoryEntry
impl UnsafeUnpin for HistoryEntry
impl UnwindSafe for HistoryEntry
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