git_perf/
data.rs

1use std::collections::HashMap;
2
3#[derive(Debug)]
4pub struct MeasurementSummary {
5    pub epoch: u32,
6    pub val: f64,
7}
8
9#[derive(Debug)]
10pub struct CommitSummary {
11    pub commit: String,
12    pub measurement: Option<MeasurementSummary>,
13}
14
15#[derive(Debug, PartialEq)]
16pub struct MeasurementData {
17    pub epoch: u32,
18    pub name: String,
19    pub timestamp: f64,
20    pub val: f64,
21    pub key_values: HashMap<String, String>,
22}