#[non_exhaustive]pub struct ReportDelta {
pub quality_score: ScoreChange,
pub dimensions: Vec<DimensionChange>,
pub columns: Vec<ColumnChange>,
pub metric_semantics: SemanticsComparison,
pub configuration: ConfigurationComparison,
pub schema: SchemaChange,
pub reports: Sides<ReportReference>,
}Expand description
What changed between two reports. See the module docs for the contract.
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.quality_score: ScoreChangeThe overall quality score.
dimensions: Vec<DimensionChange>Every quality dimension this build knows, in QualityDimension::all
order, assessed or not.
columns: Vec<ColumnChange>The union of both sides’ columns: a’s in its order, then the ones
only b has, in b’s order.
metric_semantics: SemanticsComparisonWhether the two reports measured the same way.
configuration: ConfigurationComparisonThe settings each report was profiled with that move its scores.
schema: SchemaChangeColumns added, removed and shared.
reports: Sides<ReportReference>Which two reports were compared.
Implementations§
Source§impl ReportDelta
impl ReportDelta
Sourcepub fn between(a: &ProfileReport, b: &ProfileReport) -> Self
pub fn between(a: &ProfileReport, b: &ProfileReport) -> Self
Compare two reports, a first.
Sourcepub fn between_sides(a: &ReportSide, b: &ReportSide) -> Self
pub fn between_sides(a: &ReportSide, b: &ReportSide) -> Self
Compare two sides, either of which may come from a flat summary.
Trait Implementations§
Source§impl Clone for ReportDelta
impl Clone for ReportDelta
Source§impl Debug for ReportDelta
impl Debug for ReportDelta
Source§impl PartialEq for ReportDelta
impl PartialEq for ReportDelta
Source§impl Serialize for ReportDelta
impl Serialize for ReportDelta
impl StructuralPartialEq for ReportDelta
Auto Trait Implementations§
impl Freeze for ReportDelta
impl RefUnwindSafe for ReportDelta
impl Send for ReportDelta
impl Sync for ReportDelta
impl Unpin for ReportDelta
impl UnsafeUnpin for ReportDelta
impl UnwindSafe for ReportDelta
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