pub struct ErrorQualityReport {
pub failures: usize,
pub with_code: usize,
pub with_location: usize,
pub with_fix: usize,
pub mean_score: f64,
}Expand description
Aggregate ErrorQuality over a set of failures.
Fields§
§failures: usizeNumber of failures graded.
with_code: usizeHow many carried a stable code.
with_location: usizeHow many pinpointed a location.
with_fix: usizeHow many carried a remediation hint.
mean_score: f64Mean actionability score over the failures (1.0 for an empty set — no dead ends).
Trait Implementations§
Source§impl Clone for ErrorQualityReport
impl Clone for ErrorQualityReport
Source§fn clone(&self) -> ErrorQualityReport
fn clone(&self) -> ErrorQualityReport
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 ErrorQualityReport
impl Debug for ErrorQualityReport
Source§impl Display for ErrorQualityReport
impl Display for ErrorQualityReport
Auto Trait Implementations§
impl Freeze for ErrorQualityReport
impl RefUnwindSafe for ErrorQualityReport
impl Send for ErrorQualityReport
impl Sync for ErrorQualityReport
impl Unpin for ErrorQualityReport
impl UnsafeUnpin for ErrorQualityReport
impl UnwindSafe for ErrorQualityReport
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