pub struct JobPlanResponseBuilder { /* private fields */ }
Expand description
Builder for JobPlanResponse
.
Implementations§
Source§impl JobPlanResponseBuilder
impl JobPlanResponseBuilder
pub fn created_evals(&mut self, value: Vec<Evaluation>) -> &mut Self
pub fn diff(&mut self, value: Option<JobDiff>) -> &mut Self
pub fn annotations(&mut self, value: Option<PlanAnnotations>) -> &mut Self
pub fn failed_tg_allocs( &mut self, value: HashMap<String, AllocationMetric>, ) -> &mut Self
pub fn next_periodic_launch(&mut self, value: DateTime<Utc>) -> &mut Self
Sourcepub fn warnings(&mut self, value: String) -> &mut Self
pub fn warnings(&mut self, value: String) -> &mut Self
Warnings contains any warnings about the given job. These may include deprecation warnings.
pub fn job_modify_index(&mut self, value: u64) -> &mut Self
Sourcepub fn build(&self) -> Result<JobPlanResponse, JobPlanResponseBuilderError>
pub fn build(&self) -> Result<JobPlanResponse, JobPlanResponseBuilderError>
Trait Implementations§
Source§impl Clone for JobPlanResponseBuilder
impl Clone for JobPlanResponseBuilder
Source§fn clone(&self) -> JobPlanResponseBuilder
fn clone(&self) -> JobPlanResponseBuilder
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 moreAuto Trait Implementations§
impl Freeze for JobPlanResponseBuilder
impl RefUnwindSafe for JobPlanResponseBuilder
impl Send for JobPlanResponseBuilder
impl Sync for JobPlanResponseBuilder
impl Unpin for JobPlanResponseBuilder
impl UnwindSafe for JobPlanResponseBuilder
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