#[non_exhaustive]pub struct BaselineComparison {
pub path: String,
pub workflow_fingerprint: String,
pub judges_changed: Vec<String>,
pub regressions: usize,
pub improvements: usize,
pub metrics: Vec<Delta>,
pub tests: Vec<Delta>,
}Expand description
The comparison with a baseline report.
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.path: StringThe baseline file.
workflow_fingerprint: StringThe baseline’s workflow fingerprint (differs when the workflow changed).
judges_changed: Vec<String>Judge workflows whose fingerprint differs from the baseline’s: their scores are not strictly comparable.
regressions: usize§improvements: usize§metrics: Vec<Delta>Every metric of either report.
tests: Vec<Delta>Tests that changed, are new or are missing (unchanged ones are left out).
Implementations§
Trait Implementations§
Source§impl Clone for BaselineComparison
impl Clone for BaselineComparison
Source§impl Debug for BaselineComparison
impl Debug for BaselineComparison
Source§impl Default for BaselineComparison
impl Default for BaselineComparison
Source§impl<'de> Deserialize<'de> for BaselineComparison
impl<'de> Deserialize<'de> for BaselineComparison
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Forget for BaselineComparison
impl Freeze for BaselineComparison
impl Move 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