pub struct StepReport {
pub entity_counts: BTreeMap<String, usize>,
pub total_entities: usize,
pub losses: Vec<LossNote>,
}Expand description
The result of a STEP export: what was written and what was lost.
Fields§
§entity_counts: BTreeMap<String, usize>Count of instances written, keyed by leading entity keyword (sorted).
total_entities: usizeTotal number of instances in the DATA section.
losses: Vec<LossNote>Explicit notes for IR facts that could not be represented in STEP.
Implementations§
Source§impl StepReport
impl StepReport
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
Number of loss notes at or above Severity::Error.
Trait Implementations§
Source§impl Clone for StepReport
impl Clone for StepReport
Source§fn clone(&self) -> StepReport
fn clone(&self) -> StepReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StepReport
impl Debug for StepReport
Source§impl PartialEq for StepReport
impl PartialEq for StepReport
impl StructuralPartialEq for StepReport
Auto Trait Implementations§
impl Freeze for StepReport
impl RefUnwindSafe for StepReport
impl Send for StepReport
impl Sync for StepReport
impl Unpin for StepReport
impl UnsafeUnpin for StepReport
impl UnwindSafe for StepReport
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