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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more