Struct nomad_client::models::job_plan_response::JobPlanResponse
source · pub struct JobPlanResponse {
pub job_modify_index: Option<i32>,
pub created_evals: Option<Vec<Evaluation>>,
pub diff: Option<Box<JobDiff>>,
pub annotations: Option<Box<PlanAnnotations>>,
pub failed_tg_allocs: Option<HashMap<String, AllocationMetric>>,
pub next_periodic_launch: Option<String>,
pub warnings: Option<String>,
}
Fields§
§job_modify_index: Option<i32>
§created_evals: Option<Vec<Evaluation>>
§diff: Option<Box<JobDiff>>
§annotations: Option<Box<PlanAnnotations>>
§failed_tg_allocs: Option<HashMap<String, AllocationMetric>>
§next_periodic_launch: Option<String>
§warnings: Option<String>
Implementations§
source§impl JobPlanResponse
impl JobPlanResponse
pub fn new() -> JobPlanResponse
Trait Implementations§
source§impl Clone for JobPlanResponse
impl Clone for JobPlanResponse
source§fn clone(&self) -> JobPlanResponse
fn clone(&self) -> JobPlanResponse
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 JobPlanResponse
impl Debug for JobPlanResponse
source§impl<'de> Deserialize<'de> for JobPlanResponse
impl<'de> Deserialize<'de> for JobPlanResponse
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<JobPlanResponse> for JobPlanResponse
impl PartialEq<JobPlanResponse> for JobPlanResponse
source§fn eq(&self, other: &JobPlanResponse) -> bool
fn eq(&self, other: &JobPlanResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.