pub struct JobValidateResponseBuilder { /* private fields */ }
Expand description
Builder for JobValidateResponse
.
Implementations§
Source§impl JobValidateResponseBuilder
impl JobValidateResponseBuilder
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.
Sourcepub fn driver_config_validated(&mut self, value: bool) -> &mut Self
pub fn driver_config_validated(&mut self, value: bool) -> &mut Self
DriverConfigValidated indicates whether the agent validated the driver config
Sourcepub fn validation_errors(&mut self, value: Vec<String>) -> &mut Self
pub fn validation_errors(&mut self, value: Vec<String>) -> &mut Self
ValidationErrors is a list of validation errors
Sourcepub fn error(&mut self, value: String) -> &mut Self
pub fn error(&mut self, value: String) -> &mut Self
Error is a string version of any error that may have occurred
Sourcepub fn build(
&self,
) -> Result<JobValidateResponse, JobValidateResponseBuilderError>
pub fn build( &self, ) -> Result<JobValidateResponse, JobValidateResponseBuilderError>
Trait Implementations§
Source§impl Clone for JobValidateResponseBuilder
impl Clone for JobValidateResponseBuilder
Source§fn clone(&self) -> JobValidateResponseBuilder
fn clone(&self) -> JobValidateResponseBuilder
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 JobValidateResponseBuilder
impl RefUnwindSafe for JobValidateResponseBuilder
impl Send for JobValidateResponseBuilder
impl Sync for JobValidateResponseBuilder
impl Unpin for JobValidateResponseBuilder
impl UnwindSafe for JobValidateResponseBuilder
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