pub struct BenchmarkRegressionMetric {
pub name: String,
pub baseline: Option<f64>,
pub candidate: Option<f64>,
pub passed: bool,
}Expand description
One comparable benchmark metric and its gate decision.
Fields§
§name: StringStable metric name.
baseline: Option<f64>Baseline value.
candidate: Option<f64>Candidate value.
passed: boolWhether the candidate satisfies the configured policy.
Trait Implementations§
Source§impl Clone for BenchmarkRegressionMetric
impl Clone for BenchmarkRegressionMetric
Source§fn clone(&self) -> BenchmarkRegressionMetric
fn clone(&self) -> BenchmarkRegressionMetric
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 BenchmarkRegressionMetric
impl Debug for BenchmarkRegressionMetric
Source§impl<'de> Deserialize<'de> for BenchmarkRegressionMetric
impl<'de> Deserialize<'de> for BenchmarkRegressionMetric
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
impl StructuralPartialEq for BenchmarkRegressionMetric
Auto Trait Implementations§
impl Freeze for BenchmarkRegressionMetric
impl RefUnwindSafe for BenchmarkRegressionMetric
impl Send for BenchmarkRegressionMetric
impl Sync for BenchmarkRegressionMetric
impl Unpin for BenchmarkRegressionMetric
impl UnsafeUnpin for BenchmarkRegressionMetric
impl UnwindSafe for BenchmarkRegressionMetric
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