nomad_client_rs/models/
plan_annotations.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize)]
4pub struct PlanAnnotations {
5    #[serde(rename = "DesiredTGUpdates", skip_serializing_if = "Option::is_none")]
6    pub desired_tg_updates:
7        Option<::std::collections::HashMap<String, crate::models::DesiredUpdates>>,
8    #[serde(rename = "PreemptedAllocs", skip_serializing_if = "Option::is_none")]
9    pub preempted_allocs: Option<Vec<crate::models::AllocationListStub>>,
10}