1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct SummaryWorkloadWorkloadItem {
    /// The number (across all cores) of micro-seconds per second.
    #[serde(rename = "cpu")]
    pub cpu: f32,
    /// The canonical name for the job followed by phase in brackets, ie. 'AVscan[1]', etc...
    #[serde(rename = "job_type")]
    pub job_type: Option<String>,
    /// L2 cache hits per second.
    #[serde(rename = "l2")]
    pub l2: f32,
    /// L3 cache hits per second.
    #[serde(rename = "l3")]
    pub l3: f32,
    /// The node on which the operation was performed.
    #[serde(rename = "node")]
    pub node: f32,
    /// Disk read operations per second.
    #[serde(rename = "reads")]
    pub reads: f32,
    /// The process name, job ID, etc...
    #[serde(rename = "system_name")]
    pub system_name: Option<String>,
    /// Disk write operations per second.
    #[serde(rename = "writes")]
    pub writes: f32,
}