Struct nomad_client_rs::models::plan_annotations::PlanAnnotations
source · pub struct PlanAnnotations {
pub desired_tg_updates: Option<HashMap<String, DesiredUpdates>>,
pub preempted_allocs: Option<Vec<AllocationListStub>>,
}
Fields§
§desired_tg_updates: Option<HashMap<String, DesiredUpdates>>
§preempted_allocs: Option<Vec<AllocationListStub>>
Trait Implementations§
source§impl Clone for PlanAnnotations
impl Clone for PlanAnnotations
source§fn clone(&self) -> PlanAnnotations
fn clone(&self) -> PlanAnnotations
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PlanAnnotations
impl Debug for PlanAnnotations
source§impl Default for PlanAnnotations
impl Default for PlanAnnotations
source§fn default() -> PlanAnnotations
fn default() -> PlanAnnotations
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlanAnnotations
impl<'de> Deserialize<'de> for PlanAnnotations
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more