Struct nomad_client_rs::models::allocation_metric::AllocationMetric
source · pub struct AllocationMetric {Show 13 fields
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>>Trait Implementations§
source§impl Clone for AllocationMetric
impl Clone for AllocationMetric
source§fn clone(&self) -> AllocationMetric
fn clone(&self) -> AllocationMetric
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 AllocationMetric
impl Debug for AllocationMetric
source§impl Default for AllocationMetric
impl Default for AllocationMetric
source§fn default() -> AllocationMetric
fn default() -> AllocationMetric
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AllocationMetric
impl<'de> Deserialize<'de> for AllocationMetric
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