pub struct ImportSummary {
pub tables: Vec<TableImportResult>,
pub total_items: usize,
pub total_bytes: usize,
pub total_skipped: usize,
pub notices: Vec<Notice>,
pub warnings: Vec<String>,
pub exposures: Vec<String>,
pub output_path: Option<PathBuf>,
}Expand description
Result of an import operation.
Fields§
§tables: Vec<TableImportResult>Per-table import statistics.
total_items: usizeTotal items imported across all tables.
total_bytes: usizeTotal bytes imported.
total_skipped: usizeTotal lines skipped due to parse errors.
notices: Vec<Notice>Every message the import raised, each with its concern.
warnings: Vec<String>The messages of notices, in order. Kept for readers that want text.
exposures: Vec<String>The messages of the notices whose concern is Concern::Exposure: an
original value was seen reaching the output. These are the reason the
run’s exit code is not 0, so a pipeline notices without reading prose.
output_path: Option<PathBuf>Output file path (may differ from input if compressed). None for in-memory imports.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ImportSummary
impl RefUnwindSafe for ImportSummary
impl Send for ImportSummary
impl Sync for ImportSummary
impl Unpin for ImportSummary
impl UnsafeUnpin for ImportSummary
impl UnwindSafe for ImportSummary
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