1 2 3 4 5 6 7 8 9 10 11 12 13
use std::collections::HashMap;
use serde::{Deserialize, Serialize};
use crate::models::allocation_list_stub::AllocationListStub;
use crate::models::desired_updates::DesiredUpdates;
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
#[serde(rename_all = "PascalCase")]
pub struct PlanAnnotations {
pub desired_tg_updates: Option<HashMap<String, DesiredUpdates>>,
pub preempted_allocs: Option<Vec<AllocationListStub>>,
}