#[non_exhaustive]pub struct DiagnosticSummary {
pub errors: usize,
pub warnings: usize,
pub info: usize,
}Expand description
Diagnostic counts rolled up at any level.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.errors: usize§warnings: usize§info: usizeTrait Implementations§
Source§impl Clone for DiagnosticSummary
impl Clone for DiagnosticSummary
Source§fn clone(&self) -> DiagnosticSummary
fn clone(&self) -> DiagnosticSummary
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 DiagnosticSummary
impl Debug for DiagnosticSummary
Source§impl Default for DiagnosticSummary
impl Default for DiagnosticSummary
Source§fn default() -> DiagnosticSummary
fn default() -> DiagnosticSummary
Returns the “default value” for a type. Read more
Source§impl PartialEq for DiagnosticSummary
impl PartialEq for DiagnosticSummary
impl StructuralPartialEq for DiagnosticSummary
Auto Trait Implementations§
impl Freeze for DiagnosticSummary
impl RefUnwindSafe for DiagnosticSummary
impl Send for DiagnosticSummary
impl Sync for DiagnosticSummary
impl Unpin for DiagnosticSummary
impl UnsafeUnpin for DiagnosticSummary
impl UnwindSafe for DiagnosticSummary
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