pub struct AllocationMetric {Show 13 fields
pub nodes_evaluated: i32,
pub nodes_filtered: i32,
pub nodes_available: HashMap<String, i32>,
pub class_filtered: Option<HashMap<String, i32>>,
pub constraint_filtered: Option<HashMap<String, i32>>,
pub nodes_exhausted: i32,
pub class_exhausted: Option<HashMap<String, i32>>,
pub dimension_exhausted: Option<HashMap<String, i32>>,
pub quota_exhausted: Option<Vec<String>>,
pub resources_exhausted: Option<HashMap<String, AllocationResourceExhausted>>,
pub scores_meta: Option<HashMap<String, f64>>,
pub allocation_time: i64,
pub coalesced_failures: i32,
}Fields§
§nodes_evaluated: i32§nodes_filtered: i32§nodes_available: HashMap<String, i32>§class_filtered: Option<HashMap<String, i32>>§constraint_filtered: Option<HashMap<String, i32>>§nodes_exhausted: i32§class_exhausted: Option<HashMap<String, i32>>§dimension_exhausted: Option<HashMap<String, i32>>§quota_exhausted: Option<Vec<String>>§resources_exhausted: Option<HashMap<String, AllocationResourceExhausted>>§scores_meta: Option<HashMap<String, f64>>§allocation_time: i64§coalesced_failures: i32Trait Implementations§
Source§impl Clone for AllocationMetric
impl Clone for AllocationMetric
Source§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
Auto Trait Implementations§
impl Freeze for AllocationMetric
impl RefUnwindSafe for AllocationMetric
impl Send for AllocationMetric
impl Sync for AllocationMetric
impl Unpin for AllocationMetric
impl UnsafeUnpin 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