pub struct IoArgoprojWorkflowV1alpha1ArgumentsBuilder { /* private fields */ }Expand description
Builder for IoArgoprojWorkflowV1alpha1Arguments.
Implementations§
Source§impl IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl IoArgoprojWorkflowV1alpha1ArgumentsBuilder
Sourcepub fn artifacts(
&mut self,
value: Vec<IoArgoprojWorkflowV1alpha1Artifact>,
) -> &mut Self
pub fn artifacts( &mut self, value: Vec<IoArgoprojWorkflowV1alpha1Artifact>, ) -> &mut Self
Artifacts is the list of artifacts to pass to the template or workflow
Sourcepub fn parameters(
&mut self,
value: Vec<IoArgoprojWorkflowV1alpha1Parameter>,
) -> &mut Self
pub fn parameters( &mut self, value: Vec<IoArgoprojWorkflowV1alpha1Parameter>, ) -> &mut Self
Parameters is the list of parameters to pass to the template or workflow
Sourcepub fn build(
&self,
) -> Result<IoArgoprojWorkflowV1alpha1Arguments, IoArgoprojWorkflowV1alpha1ArgumentsBuilderError>
pub fn build( &self, ) -> Result<IoArgoprojWorkflowV1alpha1Arguments, IoArgoprojWorkflowV1alpha1ArgumentsBuilderError>
Builds a new IoArgoprojWorkflowV1alpha1Arguments.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl Clone for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1ArgumentsBuilder
fn clone(&self) -> IoArgoprojWorkflowV1alpha1ArgumentsBuilder
Returns a duplicate 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 IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl Send for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl Sync for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl Unpin for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
impl UnwindSafe for IoArgoprojWorkflowV1alpha1ArgumentsBuilder
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