nomad_client_rs/models/
task_group_summary.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct TaskGroupSummary {
5 #[serde(rename = "Complete", skip_serializing_if = "Option::is_none")]
6 pub complete: Option<i32>,
7 #[serde(rename = "Failed", skip_serializing_if = "Option::is_none")]
8 pub failed: Option<i32>,
9 #[serde(rename = "Lost", skip_serializing_if = "Option::is_none")]
10 pub lost: Option<i32>,
11 #[serde(rename = "Queued", skip_serializing_if = "Option::is_none")]
12 pub queued: Option<i32>,
13 #[serde(rename = "Running", skip_serializing_if = "Option::is_none")]
14 pub running: Option<i32>,
15 #[serde(rename = "Starting", skip_serializing_if = "Option::is_none")]
16 pub starting: Option<i32>,
17 #[serde(rename = "Unknown", skip_serializing_if = "Option::is_none")]
18 pub unknown: Option<i32>,
19}