pub struct JobPlanResponse {
pub next_periodic_launch: DateTime<Utc>,
pub warnings: String,
pub job_modify_index: u64,
pub created_evals: Vec<Evaluation>,
pub diff: Option<JobDiff>,
pub annotations: Option<PlanAnnotations>,
pub failed_tg_allocs: HashMap<String, AllocationMetric>,
}
Expand description
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§next_periodic_launch: DateTime<Utc>
§warnings: String
Warnings contains any warnings about the given job. These may include deprecation warnings.
job_modify_index: u64
§created_evals: Vec<Evaluation>
§diff: Option<JobDiff>
§annotations: Option<PlanAnnotations>
§failed_tg_allocs: HashMap<String, AllocationMetric>
Implementations§
Source§impl JobPlanResponse
impl JobPlanResponse
pub fn builder() -> JobPlanResponseBuilder
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 for JobPlanResponse
impl PartialEq for JobPlanResponse
Source§impl Serialize for JobPlanResponse
impl Serialize for JobPlanResponse
impl StructuralPartialEq for JobPlanResponse
Auto Trait Implementations§
impl Freeze for JobPlanResponse
impl RefUnwindSafe for JobPlanResponse
impl Send for JobPlanResponse
impl Sync for JobPlanResponse
impl Unpin for JobPlanResponse
impl UnwindSafe for JobPlanResponse
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