nomad_client_rs/models/desired_transition.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct DesiredTransition {
5 #[serde(rename = "Migrate", skip_serializing_if = "Option::is_none")]
6 pub migrate: Option<bool>,
7 #[serde(rename = "Reschedule", skip_serializing_if = "Option::is_none")]
8 pub reschedule: Option<bool>,
9}