pub struct CompareExportRow {
pub bench_name: String,
pub metric: String,
pub baseline_value: f64,
pub current_value: f64,
pub regression_pct: f64,
pub status: String,
pub threshold: f64,
}Expand description
Row structure for CompareReceipt export.
§Examples
use perfgate_export::CompareExportRow;
let row = CompareExportRow {
bench_name: "my-bench".into(),
metric: "wall_ms".into(),
baseline_value: 100.0,
current_value: 110.0,
regression_pct: 10.0,
status: "pass".into(),
threshold: 20.0,
};
assert_eq!(row.metric, "wall_ms");
assert_eq!(row.status, "pass");Fields§
§bench_name: String§metric: String§baseline_value: f64§current_value: f64§regression_pct: f64§status: String§threshold: f64Trait Implementations§
Source§impl Clone for CompareExportRow
impl Clone for CompareExportRow
Source§fn clone(&self) -> CompareExportRow
fn clone(&self) -> CompareExportRow
Returns a duplicate of the value. Read more
1.0.0 · 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 CompareExportRow
impl Debug for CompareExportRow
Auto Trait Implementations§
impl Freeze for CompareExportRow
impl RefUnwindSafe for CompareExportRow
impl Send for CompareExportRow
impl Sync for CompareExportRow
impl Unpin for CompareExportRow
impl UnsafeUnpin for CompareExportRow
impl UnwindSafe for CompareExportRow
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