pub struct Evaluation {Show 29 fields
pub next_eval: String,
pub blocked_eval: String,
pub triggered_by: String,
pub job_modify_index: u64,
pub node_modify_index: u64,
pub status: String,
pub escaped_computed_class: bool,
pub annotate_plan: bool,
pub snapshot_index: u64,
pub modify_time: i64,
pub namespace: String,
pub previous_eval: String,
pub modify_index: u64,
pub wait_until: DateTime<Utc>,
pub type: String,
pub related_evals: Vec<EvaluationStub>,
pub priority: i64,
pub create_time: i64,
pub job_id: String,
pub class_eligibility: HashMap<String, bool>,
pub deployment_id: String,
pub quota_limit_reached: String,
pub queued_allocations: HashMap<String, i64>,
pub status_description: String,
pub node_id: String,
pub wait: TimeDelta,
pub failed_tg_allocs: HashMap<String, AllocationMetric>,
pub create_index: u64,
pub id: String,
}
Expand description
Evaluation is used to serialize an evaluation.
This struct was generated based on the Go types of the official Nomad API.
Fields§
§next_eval: String
§blocked_eval: String
§triggered_by: String
§job_modify_index: u64
§node_modify_index: u64
§status: String
§escaped_computed_class: bool
§annotate_plan: bool
§snapshot_index: u64
§modify_time: i64
§namespace: String
§previous_eval: String
§modify_index: u64
§wait_until: DateTime<Utc>
§type: String
§priority: i64
§create_time: i64
§job_id: String
§class_eligibility: HashMap<String, bool>
§deployment_id: String
§quota_limit_reached: String
§queued_allocations: HashMap<String, i64>
§status_description: String
§node_id: String
§wait: TimeDelta
§failed_tg_allocs: HashMap<String, AllocationMetric>
§create_index: u64
§id: String
Trait Implementations§
Source§impl Clone for Evaluation
impl Clone for Evaluation
Source§fn clone(&self) -> Evaluation
fn clone(&self) -> Evaluation
Returns a copy 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