nomad_client_rs/models/
multiregion_strategy.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct MultiregionStrategy {
5    #[serde(rename = "MaxParallel", skip_serializing_if = "Option::is_none")]
6    pub max_parallel: Option<i32>,
7    #[serde(rename = "OnFailure", skip_serializing_if = "Option::is_none")]
8    pub on_failure: Option<String>,
9}