pub struct ImportFileResult {
pub class: &'static str,
pub file: String,
pub read: usize,
pub imported: usize,
pub skipped_up_to_date: usize,
pub skipped_unknown_qname: usize,
pub skipped_parse_error: usize,
}Expand description
Outcome of importing one JSONL file.
Fields§
§class: &'static str§file: String§read: usizePlan T t-007: total non-empty lines read from the file. Always
equals imported + skipped_up_to_date + skipped_unknown_qname + skipped_parse_error — surfaced so callers can spot silent drops
without doing the arithmetic themselves.
imported: usize§skipped_up_to_date: usizeRecords the store already holds at the same or a newer revision. Not a drop: importing them would have replaced newer data (an entry updated in place since the last export) with the committed copy.
skipped_unknown_qname: usize§skipped_parse_error: usizeTrait Implementations§
Source§impl Clone for ImportFileResult
impl Clone for ImportFileResult
Source§impl Debug for ImportFileResult
impl Debug for ImportFileResult
Auto Trait Implementations§
impl Freeze for ImportFileResult
impl RefUnwindSafe for ImportFileResult
impl Send for ImportFileResult
impl Sync for ImportFileResult
impl Unpin for ImportFileResult
impl UnsafeUnpin for ImportFileResult
impl UnwindSafe for ImportFileResult
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