pub struct Evaluation {Show 29 fields
pub annotate_plan: Option<bool>,
pub blocked_eval: Option<String>,
pub class_eligibility: Option<HashMap<String, bool>>,
pub create_index: Option<i32>,
pub create_time: Option<i64>,
pub deployment_id: Option<String>,
pub escaped_computed_class: Option<bool>,
pub failed_tg_allocs: Option<HashMap<String, AllocationMetric>>,
pub id: Option<String>,
pub job_id: Option<String>,
pub job_modify_index: Option<i32>,
pub modify_index: Option<i32>,
pub modify_time: Option<i64>,
pub namespace: Option<String>,
pub next_eval: Option<String>,
pub node_id: Option<String>,
pub node_modify_index: Option<i32>,
pub previous_eval: Option<String>,
pub priority: Option<i32>,
pub queued_allocations: Option<HashMap<String, i32>>,
pub quota_limit_reached: Option<String>,
pub related_evals: Option<Vec<EvaluationStub>>,
pub snapshot_index: Option<i32>,
pub status: Option<String>,
pub status_description: Option<String>,
pub triggered_by: Option<String>,
pub _type: Option<String>,
pub wait: Option<i64>,
pub wait_until: Option<String>,
}Fields§
§annotate_plan: Option<bool>§blocked_eval: Option<String>§class_eligibility: Option<HashMap<String, bool>>§create_index: Option<i32>§create_time: Option<i64>§deployment_id: Option<String>§escaped_computed_class: Option<bool>§failed_tg_allocs: Option<HashMap<String, AllocationMetric>>§id: Option<String>§job_id: Option<String>§job_modify_index: Option<i32>§modify_index: Option<i32>§modify_time: Option<i64>§namespace: Option<String>§next_eval: Option<String>§node_id: Option<String>§node_modify_index: Option<i32>§previous_eval: Option<String>§priority: Option<i32>§queued_allocations: Option<HashMap<String, i32>>§quota_limit_reached: Option<String>§snapshot_index: Option<i32>§status: Option<String>§status_description: Option<String>§triggered_by: Option<String>§_type: Option<String>§wait: Option<i64>§wait_until: Option<String>Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
Returns a duplicate 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 Evaluation
impl Debug for Evaluation
Source§impl Default for Evaluation
impl Default for Evaluation
Source§fn default() -> Evaluation
fn default() -> Evaluation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Evaluation
impl<'de> Deserialize<'de> for Evaluation
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 Evaluation
impl PartialEq for Evaluation
Source§impl Serialize for Evaluation
impl Serialize for Evaluation
impl StructuralPartialEq for Evaluation
Auto Trait Implementations§
impl Freeze for Evaluation
impl RefUnwindSafe for Evaluation
impl Send for Evaluation
impl Sync for Evaluation
impl Unpin for Evaluation
impl UnwindSafe for Evaluation
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