nomad_client_rs/models/
drain_spec.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct DrainSpec {
5    #[serde(rename = "Deadline", skip_serializing_if = "Option::is_none")]
6    pub deadline: Option<i64>,
7    #[serde(rename = "IgnoreSystemJobs", skip_serializing_if = "Option::is_none")]
8    pub ignore_system_jobs: Option<bool>,
9}