nomad_client_rs/models/
metrics_summary.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct MetricsSummary {
5 #[serde(rename = "Counters", skip_serializing_if = "Option::is_none")]
6 pub counters: Option<Vec<crate::models::SampledValue>>,
7 #[serde(rename = "Gauges", skip_serializing_if = "Option::is_none")]
8 pub gauges: Option<Vec<crate::models::GaugeValue>>,
9 #[serde(rename = "Points", skip_serializing_if = "Option::is_none")]
10 pub points: Option<Vec<crate::models::PointValue>>,
11 #[serde(rename = "Samples", skip_serializing_if = "Option::is_none")]
12 pub samples: Option<Vec<crate::models::SampledValue>>,
13 #[serde(rename = "Timestamp", skip_serializing_if = "Option::is_none")]
14 pub timestamp: Option<String>,
15}