pub struct TableHistory {
pub table: String,
pub columns: Vec<String>,
pub without_rowid: bool,
pub versions: Vec<RowVersion>,
}Expand description
The version history of one user table.
Fields§
§table: StringThe table’s sqlite_master.name.
columns: Vec<String>The table’s column names (real names where the schema parsed, else generic).
without_rowid: boolWhether this is a WITHOUT ROWID table — such tables have no rowid and are
not version-tracked here; versions is then empty (presence recorded only).
versions: Vec<RowVersion>Every row version, sorted by rowid (None last), then commit_seq
ascending, with carved-residue (order-unknown) versions grouped after the
ordered versions of their rowid.
Trait Implementations§
Source§impl Clone for TableHistory
impl Clone for TableHistory
Source§fn clone(&self) -> TableHistory
fn clone(&self) -> TableHistory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TableHistory
impl Debug for TableHistory
Source§impl PartialEq for TableHistory
impl PartialEq for TableHistory
Source§fn eq(&self, other: &TableHistory) -> bool
fn eq(&self, other: &TableHistory) -> bool
Tests for
self and other values to be equal, and is used by ==.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