pub struct Evaluation {
Show 28 fields pub id: Option<String>, pub priority: Option<i32>, pub type: Option<String>, pub triggered_by: Option<String>, pub namespace: Option<String>, pub job_id: Option<String>, pub job_modify_index: Option<i32>, pub node_id: Option<String>, pub node_modify_index: Option<i32>, pub deployment_id: Option<String>, pub status: Option<String>, pub status_description: Option<String>, pub wait: Option<i64>, pub wait_until: Option<String>, pub next_eval: Option<String>, pub previous_eval: Option<String>, pub blocked_eval: Option<String>, pub failed_tg_allocs: Option<HashMap<String, AllocationMetric>>, pub class_eligibility: Option<HashMap<String, bool>>, pub escaped_computed_class: Option<bool>, pub quota_limit_reached: Option<String>, pub annotate_plan: Option<bool>, pub queued_allocations: Option<HashMap<String, i32>>, pub snapshot_index: Option<i32>, pub create_index: Option<i32>, pub modify_index: Option<i32>, pub create_time: Option<i64>, pub modify_time: Option<i64>,
}

Fields§

§id: Option<String>§priority: Option<i32>§type: Option<String>§triggered_by: Option<String>§namespace: Option<String>§job_id: Option<String>§job_modify_index: Option<i32>§node_id: Option<String>§node_modify_index: Option<i32>§deployment_id: Option<String>§status: Option<String>§status_description: Option<String>§wait: Option<i64>§wait_until: Option<String>§next_eval: Option<String>§previous_eval: Option<String>§blocked_eval: Option<String>§failed_tg_allocs: Option<HashMap<String, AllocationMetric>>§class_eligibility: Option<HashMap<String, bool>>§escaped_computed_class: Option<bool>§quota_limit_reached: Option<String>§annotate_plan: Option<bool>§queued_allocations: Option<HashMap<String, i32>>§snapshot_index: Option<i32>§create_index: Option<i32>§modify_index: Option<i32>§create_time: Option<i64>§modify_time: Option<i64>

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