pub struct RecoveredTable {
pub name: String,
pub columns: Vec<String>,
pub rows: Vec<Vec<Value>>,
}Expand description
One table to materialize in a multi-table rebuilt database
(build_recovered_db_tables): an arbitrary (SQL-identifier-quoted) table
name, its full ordered column names, and its rows already projected to
exactly columns.len() values each.
This is the general surface the CLI’s table-attribution feature targets: it
emits one recovered_<table> per attributed live table (with that table’s
real column names), plus recovered_inferred, recovered_unattributed, and
recovered_fragments. The caller owns the column layout and row projection;
the writer owns the SQLite-format encoding and identifier quoting.
Fields§
§name: StringTable name (quoted as a SQL identifier in the emitted CREATE TABLE).
columns: Vec<String>Full ordered column names (quoted as SQL identifiers). Each row carries exactly this many values.
rows: Vec<Vec<Value>>Rows, each already projected to columns.len() values in column order.
Trait Implementations§
Source§impl Clone for RecoveredTable
impl Clone for RecoveredTable
Source§fn clone(&self) -> RecoveredTable
fn clone(&self) -> RecoveredTable
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RecoveredTable
impl Debug for RecoveredTable
Source§impl PartialEq for RecoveredTable
impl PartialEq for RecoveredTable
Source§fn eq(&self, other: &RecoveredTable) -> bool
fn eq(&self, other: &RecoveredTable) -> bool
self and other values to be equal, and is used by ==.