Struct nomad_client::models::allocation_metric::AllocationMetric[][src]

pub struct AllocationMetric {
    pub nodes_evaluated: Option<i32>,
    pub nodes_filtered: Option<i32>,
    pub nodes_available: Option<HashMap<String, i32>>,
    pub class_filtered: Option<HashMap<String, i32>>,
    pub constraint_filtered: Option<HashMap<String, i32>>,
    pub nodes_exhausted: Option<i32>,
    pub class_exhausted: Option<HashMap<String, i32>>,
    pub dimension_exhausted: Option<HashMap<String, i32>>,
    pub quota_exhausted: Option<Vec<String>>,
    pub scores: Option<HashMap<String, f64>>,
    pub allocation_time: Option<i64>,
    pub coalesced_failures: Option<i32>,
    pub score_meta_data: Option<Vec<NodeScoreMeta>>,
}

Fields

nodes_evaluated: Option<i32>nodes_filtered: Option<i32>nodes_available: Option<HashMap<String, i32>>class_filtered: Option<HashMap<String, i32>>constraint_filtered: Option<HashMap<String, i32>>nodes_exhausted: Option<i32>class_exhausted: Option<HashMap<String, i32>>dimension_exhausted: Option<HashMap<String, i32>>quota_exhausted: Option<Vec<String>>scores: Option<HashMap<String, f64>>allocation_time: Option<i64>coalesced_failures: Option<i32>score_meta_data: Option<Vec<NodeScoreMeta>>

Implementations

impl AllocationMetric[src]

Trait Implementations

impl Clone for AllocationMetric[src]

impl Debug for AllocationMetric[src]

impl<'de> Deserialize<'de> for AllocationMetric[src]

impl PartialEq<AllocationMetric> for AllocationMetric[src]

impl Serialize for AllocationMetric[src]

impl StructuralPartialEq for AllocationMetric[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.