pub struct ExportReport {
pub format: String,
pub entity_counts: BTreeMap<String, usize>,
pub total_entities: usize,
pub losses: Vec<LossNote>,
pub notes: Vec<String>,
}Expand description
Entity census and fidelity details from a successful export.
Fields§
§format: StringTarget format id.
entity_counts: BTreeMap<String, usize>Exported entity counts keyed by target entity kind.
total_entities: usizeTotal exported entities.
losses: Vec<LossNote>Omitted, normalized, or reduced content.
notes: Vec<String>Informational details about the export path.
Implementations§
Source§impl ExportReport
impl ExportReport
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
Count loss notes at or above Severity::Error.
Trait Implementations§
Source§impl Clone for ExportReport
impl Clone for ExportReport
Source§fn clone(&self) -> ExportReport
fn clone(&self) -> ExportReport
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 ExportReport
impl Debug for ExportReport
Source§impl<'de> Deserialize<'de> for ExportReport
impl<'de> Deserialize<'de> for ExportReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ExportReport
impl JsonSchema for ExportReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExportReport
impl PartialEq for ExportReport
Source§impl Serialize for ExportReport
impl Serialize for ExportReport
impl StructuralPartialEq for ExportReport
Auto Trait Implementations§
impl Freeze for ExportReport
impl RefUnwindSafe for ExportReport
impl Send for ExportReport
impl Sync for ExportReport
impl Unpin for ExportReport
impl UnsafeUnpin for ExportReport
impl UnwindSafe for ExportReport
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