pub struct PriorRow {
pub table: String,
pub rowid: i64,
pub values: Vec<Value>,
pub source: RecoverySource,
}Expand description
A row recovered from the prior (pre-transaction) snapshot of a rollback
journal (design §5). In the prior state it was a LIVE allocated row that the
last transaction DELETED — so it is recovered at full fidelity and is NOT a
free-space carve (allocated was true in the prior state). Carries full
journal provenance in RollbackJournalSource.
Fields§
§table: StringThe table the row belonged to (prior schema).
rowid: i64The row’s rowid (its INTEGER PRIMARY KEY for a rowid table).
values: Vec<Value>The decoded prior column values, in column order.
source: RecoverySourceJournal provenance: page / segment / header-state / checksum status.
Trait Implementations§
impl StructuralPartialEq for PriorRow
Auto Trait Implementations§
impl Freeze for PriorRow
impl RefUnwindSafe for PriorRow
impl Send for PriorRow
impl Sync for PriorRow
impl Unpin for PriorRow
impl UnsafeUnpin for PriorRow
impl UnwindSafe for PriorRow
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