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>>
Implementations§
Source§impl AllocationMetric
impl AllocationMetric
pub fn new() -> AllocationMetric
Trait Implementations§
Source§impl Clone for AllocationMetric
impl Clone for AllocationMetric
Source§fn clone(&self) -> AllocationMetric
fn clone(&self) -> AllocationMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AllocationMetric
impl Debug for AllocationMetric
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
Source§impl PartialEq for AllocationMetric
impl PartialEq for AllocationMetric
Source§impl Serialize for AllocationMetric
impl Serialize for AllocationMetric
impl StructuralPartialEq for AllocationMetric
Auto Trait Implementations§
impl Freeze for AllocationMetric
impl RefUnwindSafe for AllocationMetric
impl Send for AllocationMetric
impl Sync for AllocationMetric
impl Unpin for AllocationMetric
impl UnwindSafe for AllocationMetric
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