pub struct PlanAnnotations {
pub preempted_allocs: Vec<AllocationListStub>,
pub desired_tg_updates: HashMap<String, DesiredUpdates>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API.
Fields§
§preempted_allocs: Vec<AllocationListStub>
§desired_tg_updates: HashMap<String, DesiredUpdates>
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
Source§impl PartialEq for PlanAnnotations
impl PartialEq for PlanAnnotations
Source§impl Serialize for PlanAnnotations
impl Serialize for PlanAnnotations
impl StructuralPartialEq for PlanAnnotations
Auto Trait Implementations§
impl Freeze for PlanAnnotations
impl RefUnwindSafe for PlanAnnotations
impl Send for PlanAnnotations
impl Sync for PlanAnnotations
impl Unpin for PlanAnnotations
impl UnwindSafe for PlanAnnotations
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more