#[non_exhaustive]pub struct RecipeStepBuilder { /* private fields */ }Expand description
A builder for RecipeStep.
Implementations§
Source§impl RecipeStepBuilder
impl RecipeStepBuilder
Sourcepub fn action(self, input: RecipeAction) -> Self
pub fn action(self, input: RecipeAction) -> Self
The transformation action of the recipe step.
This field is required.Sourcepub fn set_action(self, input: Option<RecipeAction>) -> Self
pub fn set_action(self, input: Option<RecipeAction>) -> Self
The transformation action of the recipe step.
Sourcepub fn get_action(&self) -> &Option<RecipeAction>
pub fn get_action(&self) -> &Option<RecipeAction>
The transformation action of the recipe step.
Sourcepub fn condition_expressions(self, input: ConditionExpression) -> Self
pub fn condition_expressions(self, input: ConditionExpression) -> Self
Appends an item to condition_expressions.
To override the contents of this collection use set_condition_expressions.
The condition expressions for the recipe step.
Sourcepub fn set_condition_expressions(
self,
input: Option<Vec<ConditionExpression>>,
) -> Self
pub fn set_condition_expressions( self, input: Option<Vec<ConditionExpression>>, ) -> Self
The condition expressions for the recipe step.
Sourcepub fn get_condition_expressions(&self) -> &Option<Vec<ConditionExpression>>
pub fn get_condition_expressions(&self) -> &Option<Vec<ConditionExpression>>
The condition expressions for the recipe step.
Sourcepub fn build(self) -> RecipeStep
pub fn build(self) -> RecipeStep
Consumes the builder and constructs a RecipeStep.
Trait Implementations§
Source§impl Clone for RecipeStepBuilder
impl Clone for RecipeStepBuilder
Source§fn clone(&self) -> RecipeStepBuilder
fn clone(&self) -> RecipeStepBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RecipeStepBuilder
impl Debug for RecipeStepBuilder
Source§impl Default for RecipeStepBuilder
impl Default for RecipeStepBuilder
Source§fn default() -> RecipeStepBuilder
fn default() -> RecipeStepBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for RecipeStepBuilder
impl PartialEq for RecipeStepBuilder
Source§fn eq(&self, other: &RecipeStepBuilder) -> bool
fn eq(&self, other: &RecipeStepBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecipeStepBuilder
Auto Trait Implementations§
impl Freeze for RecipeStepBuilder
impl RefUnwindSafe for RecipeStepBuilder
impl Send for RecipeStepBuilder
impl Sync for RecipeStepBuilder
impl Unpin for RecipeStepBuilder
impl UnsafeUnpin for RecipeStepBuilder
impl UnwindSafe for RecipeStepBuilder
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§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.