pub struct HistoryEntry {
pub commit: u64,
pub change: HistoryChange,
}Expand description
A single change event in a node’s history, paired with the WAL commit that produced it.
§Horizon
History reaches back only to the last WAL-truncating snapshot, exactly like open_at.
Snapshots written with keep_wal: true preserve deeper history. This is the honest,
zero-cost contract; a durable history log is out of scope.
§Derived edges
Rule-created (derived) edges are not in the WAL and therefore do not appear in history. Only edges written directly by the application are recorded.
Fields§
§commit: u640-based WAL frame index of the commit that produced this change.
change: HistoryChangeTrait Implementations§
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