#[non_exhaustive]pub struct ValidatePipelineOutputBuilder { /* private fields */ }
Expand description
A builder for ValidatePipelineOutput
.
Implementations§
source§impl ValidatePipelineOutputBuilder
impl ValidatePipelineOutputBuilder
sourcepub fn is_valid(self, input: bool) -> Self
pub fn is_valid(self, input: bool) -> Self
A boolean indicating whether or not the pipeline configuration is valid.
sourcepub fn set_is_valid(self, input: Option<bool>) -> Self
pub fn set_is_valid(self, input: Option<bool>) -> Self
A boolean indicating whether or not the pipeline configuration is valid.
sourcepub fn get_is_valid(&self) -> &Option<bool>
pub fn get_is_valid(&self) -> &Option<bool>
A boolean indicating whether or not the pipeline configuration is valid.
sourcepub fn errors(self, input: ValidationMessage) -> Self
pub fn errors(self, input: ValidationMessage) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
A list of errors if the configuration is invalid.
sourcepub fn set_errors(self, input: Option<Vec<ValidationMessage>>) -> Self
pub fn set_errors(self, input: Option<Vec<ValidationMessage>>) -> Self
A list of errors if the configuration is invalid.
sourcepub fn get_errors(&self) -> &Option<Vec<ValidationMessage>>
pub fn get_errors(&self) -> &Option<Vec<ValidationMessage>>
A list of errors if the configuration is invalid.
sourcepub fn build(self) -> ValidatePipelineOutput
pub fn build(self) -> ValidatePipelineOutput
Consumes the builder and constructs a ValidatePipelineOutput
.
Trait Implementations§
source§impl Clone for ValidatePipelineOutputBuilder
impl Clone for ValidatePipelineOutputBuilder
source§fn clone(&self) -> ValidatePipelineOutputBuilder
fn clone(&self) -> ValidatePipelineOutputBuilder
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 Default for ValidatePipelineOutputBuilder
impl Default for ValidatePipelineOutputBuilder
source§fn default() -> ValidatePipelineOutputBuilder
fn default() -> ValidatePipelineOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ValidatePipelineOutputBuilder
impl PartialEq for ValidatePipelineOutputBuilder
source§fn eq(&self, other: &ValidatePipelineOutputBuilder) -> bool
fn eq(&self, other: &ValidatePipelineOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidatePipelineOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ValidatePipelineOutputBuilder
impl Send for ValidatePipelineOutputBuilder
impl Sync for ValidatePipelineOutputBuilder
impl Unpin for ValidatePipelineOutputBuilder
impl UnwindSafe for ValidatePipelineOutputBuilder
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