nomad_client_rs/models/
plan_annotations.rs

1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
pub struct PlanAnnotations {
    #[serde(rename = "DesiredTGUpdates", skip_serializing_if = "Option::is_none")]
    pub desired_tg_updates:
        Option<::std::collections::HashMap<String, crate::models::DesiredUpdates>>,
    #[serde(rename = "PreemptedAllocs", skip_serializing_if = "Option::is_none")]
    pub preempted_allocs: Option<Vec<crate::models::AllocationListStub>>,
}