nomad_client_rs/models/
job_children_summary.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct JobChildrenSummary {
5    #[serde(rename = "Dead", skip_serializing_if = "Option::is_none")]
6    pub dead: Option<i64>,
7    #[serde(rename = "Pending", skip_serializing_if = "Option::is_none")]
8    pub pending: Option<i64>,
9    #[serde(rename = "Running", skip_serializing_if = "Option::is_none")]
10    pub running: Option<i64>,
11}