pub struct ErrorSummary {
pub total: u64,
pub by_component: BTreeMap<String, u64>,
}Expand description
ERROR-and-above records counted per component: what
summarize_errors returns.
Fields§
§total: u64How many ERROR-and-above records the file holds.
by_component: BTreeMap<String, u64>The count per component, sorted by component name.
Trait Implementations§
Source§impl Clone for ErrorSummary
impl Clone for ErrorSummary
Source§impl Debug for ErrorSummary
impl Debug for ErrorSummary
Source§impl Display for ErrorSummary
impl Display for ErrorSummary
impl Eq for ErrorSummary
Source§impl JsonSchema for ErrorSummary
impl JsonSchema for ErrorSummary
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 ErrorSummary
impl PartialEq for ErrorSummary
Source§impl Serialize for ErrorSummary
impl Serialize for ErrorSummary
impl StructuralPartialEq for ErrorSummary
Auto Trait Implementations§
impl Forget for ErrorSummary
impl Freeze for ErrorSummary
impl RefUnwindSafe for ErrorSummary
impl Send for ErrorSummary
impl Sync for ErrorSummary
impl Unpin for ErrorSummary
impl UnsafeUnpin for ErrorSummary
impl UnwindSafe for ErrorSummary
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.