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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct SummaryProtocolProtocolItem {
    /// The class of the operation.
    #[serde(rename = "class")]
    pub class: String,
    /// Rate of input (in bytes/second) for an operation since the last time isi statistics collected the data.
    #[serde(rename = "in")]
    pub _in: f32,
    /// Average input (received) bytes for an operation, in bytes.
    #[serde(rename = "in_avg")]
    pub in_avg: f32,
    /// Maximum input (received) bytes for an operation, in bytes.
    #[serde(rename = "in_max")]
    pub in_max: f32,
    /// Minimum input (received) bytes for an operation, in bytes.
    #[serde(rename = "in_min")]
    pub in_min: f32,
    /// Standard deviation for input (received) bytes for an operation, in bytes.
    #[serde(rename = "in_standard_dev")]
    pub in_standard_dev: f32,
    /// The node on which the operation was performed.
    #[serde(rename = "node")]
    pub node: Option<i32>,
    /// The operation performed.
    #[serde(rename = "operation")]
    pub operation: String,
    /// The number of times an operation has been performed.
    #[serde(rename = "operation_count")]
    pub operation_count: i32,
    /// The rate (in ops/second) at which an operation has been performed.
    #[serde(rename = "operation_rate")]
    pub operation_rate: f32,
    /// Rate of output (in bytes/second) for an operation since the last time isi statistics collected the data.
    #[serde(rename = "out")]
    pub out: f32,
    /// Average output (sent) bytes for an operation, in bytes.
    #[serde(rename = "out_avg")]
    pub out_avg: f32,
    /// Maximum output (sent) bytes for an operation, in bytes.
    #[serde(rename = "out_max")]
    pub out_max: f32,
    /// Minimum output (sent) bytes for an operation, in bytes.
    #[serde(rename = "out_min")]
    pub out_min: f32,
    /// Standard deviation for output (received) bytes for an operation, in bytes.
    #[serde(rename = "out_standard_dev")]
    pub out_standard_dev: f32,
    /// The protocol of the operation.
    #[serde(rename = "protocol")]
    pub protocol: String,
    /// Unix Epoch time in seconds of the request.
    #[serde(rename = "time")]
    pub time: i32,
    /// The average elapsed time (in microseconds) taken to complete an operation.
    #[serde(rename = "time_avg")]
    pub time_avg: f32,
    /// The maximum elapsed time (in microseconds) taken to complete an operation.
    #[serde(rename = "time_max")]
    pub time_max: f32,
    /// The minimum elapsed time (in microseconds) taken to complete an operation.
    #[serde(rename = "time_min")]
    pub time_min: f32,
    /// The standard deviation time (in microseconds) taken to complete an operation.
    #[serde(rename = "time_standard_dev")]
    pub time_standard_dev: f32,
}