pub struct ImportResult {
pub tables: Vec<TableData>,
pub tables_requiring_name: Vec<TableRequiringName>,
pub errors: Vec<ImportError>,
pub ai_suggestions: Option<Vec<Value>>,
}Expand description
Result of an import operation.
Contains extracted tables and any errors/warnings from the import process.
Fields§
§tables: Vec<TableData>Tables extracted from the import
tables_requiring_name: Vec<TableRequiringName>Tables that require name input (for SQL imports with unnamed tables)
errors: Vec<ImportError>Parse errors/warnings
ai_suggestions: Option<Vec<Value>>Whether AI suggestions are available
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImportResult
impl RefUnwindSafe for ImportResult
impl Send for ImportResult
impl Sync for ImportResult
impl Unpin for ImportResult
impl UnwindSafe for ImportResult
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