pub struct CrudTables {
pub create_tables: Vec<TableWrite>,
pub read_tables: Vec<TableRead>,
pub update_tables: Vec<TableWrite>,
pub delete_tables: Vec<TableWrite>,
pub diagnostics: Vec<TableLevelDiagnostic>,
}Expand description
Per-statement output of extract_crud_tables: tables bucketed
by CRUD position plus non-fatal diagnostics. Display renders
"Create: [...], Read: [...], Update: [...], Delete: [...]".
Fields§
§create_tables: Vec<TableWrite>Tables created (INSERT / CREATE / a MERGE INSERT action), each paired
with its catalog-match ResolutionKind.
read_tables: Vec<TableRead>Tables read, each paired with its ResolutionKind.
update_tables: Vec<TableWrite>Tables updated (UPDATE / ALTER / a MERGE UPDATE action / an upsert).
delete_tables: Vec<TableWrite>Tables deleted (DELETE / DROP / TRUNCATE / a MERGE DELETE action).
diagnostics: Vec<TableLevelDiagnostic>Non-fatal diagnostics, forwarded from the underlying table-level
extraction (only UnsupportedStatement
arises at this granularity).
Trait Implementations§
Source§impl Debug for CrudTables
impl Debug for CrudTables
Source§impl Default for CrudTables
impl Default for CrudTables
Source§fn default() -> CrudTables
fn default() -> CrudTables
Returns the “default value” for a type. Read more
Source§impl Display for CrudTables
impl Display for CrudTables
Source§impl PartialEq for CrudTables
impl PartialEq for CrudTables
Source§fn eq(&self, other: &CrudTables) -> bool
fn eq(&self, other: &CrudTables) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CrudTables
Auto Trait Implementations§
impl Freeze for CrudTables
impl RefUnwindSafe for CrudTables
impl Send for CrudTables
impl Sync for CrudTables
impl Unpin for CrudTables
impl UnsafeUnpin for CrudTables
impl UnwindSafe for CrudTables
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