#[non_exhaustive]pub struct BaselineComparison {
pub reports: Sides<ReportReference>,
pub schema: SchemaChange,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The two reports a baseline-relative evaluation compared, and how their column sets differ.
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.reports: Sides<ReportReference>a is the baseline and b the report evaluated, as in a
ReportDelta between them.
schema: SchemaChangeColumns added, removed and shared.
diagnostics: Vec<Diagnostic>The schema changes from the baseline, whatever the policy states. A diagnostic never moves the verdict. Empty when nothing changed.
Trait Implementations§
Source§impl Clone for BaselineComparison
impl Clone for BaselineComparison
Source§impl Debug for BaselineComparison
impl Debug for BaselineComparison
Source§impl PartialEq for BaselineComparison
impl PartialEq for BaselineComparison
Source§impl Serialize for BaselineComparison
impl Serialize for BaselineComparison
impl StructuralPartialEq for BaselineComparison
Auto Trait Implementations§
impl Freeze for BaselineComparison
impl RefUnwindSafe for BaselineComparison
impl Send for BaselineComparison
impl Sync for BaselineComparison
impl Unpin for BaselineComparison
impl UnsafeUnpin for BaselineComparison
impl UnwindSafe for BaselineComparison
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