pub struct Report {
pub n_in: usize,
pub n_synth: usize,
pub validated: usize,
pub dropped: Vec<(u64, DropReason)>,
pub norm: Vec<&'static str>,
}Expand description
Input-to-model provenance. Every input entity plus every synthetic entity
added by normalization is either kept (validated) or dropped with a reason
(drops): validated + sum(drops) == n_in + n_synth. norm = rewrite (fix)
notes from the pre-read normalize pass. The source header (including the
identified schema) lives on the model: StepModel::header.
Fields§
§n_in: usizeInput entity count (data section, before normalization).
n_synth: usizeSynthetic entities added by per-entity normalization (add-only).
validated: usizeKept entity count (entities that entered the model).
dropped: Vec<(u64, DropReason)>Dropped entities, per-entity: input id + reason (nonstandard-value +
unimplemented + cascade + nonstandard-reference). dropped.len() is the
total drop count.
norm: Vec<&'static str>Non-standard rewrite notes (kept entities, fixed in place).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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