nomad_client_rs/models/
migrate_strategy.rs1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct MigrateStrategy {
5 #[serde(rename = "HealthCheck", skip_serializing_if = "Option::is_none")]
6 pub health_check: Option<String>,
7 #[serde(rename = "HealthyDeadline", skip_serializing_if = "Option::is_none")]
8 pub healthy_deadline: Option<i64>,
9 #[serde(rename = "MaxParallel", skip_serializing_if = "Option::is_none")]
10 pub max_parallel: Option<i32>,
11 #[serde(rename = "MinHealthyTime", skip_serializing_if = "Option::is_none")]
12 pub min_healthy_time: Option<i64>,
13}