#[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
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ValidatePipelineOutputBuilder
Auto Trait Implementations§
impl Freeze for ValidatePipelineOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.