nomad_client/models/
eval_options.rs

1/*
2 * Nomad
3 *
4 * Nomad OpenApi specification
5 *
6 * The version of the OpenAPI document: 0.11.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
15pub struct EvalOptions {
16    #[serde(rename = "ForceReschedule", skip_serializing_if = "Option::is_none")]
17    pub force_reschedule: Option<bool>,
18}
19
20impl EvalOptions {
21    pub fn new() -> EvalOptions {
22        EvalOptions {
23            force_reschedule: None,
24        }
25    }
26}
27
28