#[non_exhaustive]pub struct GetWorkflowInputBuilder { /* private fields */ }
Expand description
A builder for GetWorkflowInput
.
Implementations§
source§impl GetWorkflowInputBuilder
impl GetWorkflowInputBuilder
sourcepub fn type(self, input: WorkflowType) -> Self
pub fn type(self, input: WorkflowType) -> Self
The workflow's type.
sourcepub fn set_type(self, input: Option<WorkflowType>) -> Self
pub fn set_type(self, input: Option<WorkflowType>) -> Self
The workflow's type.
sourcepub fn export(self, input: WorkflowExport) -> Self
pub fn export(self, input: WorkflowExport) -> Self
Appends an item to export
.
To override the contents of this collection use set_export
.
The export format for the workflow.
sourcepub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
pub fn set_export(self, input: Option<Vec<WorkflowExport>>) -> Self
The export format for the workflow.
sourcepub fn build(self) -> Result<GetWorkflowInput, BuildError>
pub fn build(self) -> Result<GetWorkflowInput, BuildError>
Consumes the builder and constructs a GetWorkflowInput
.
Trait Implementations§
source§impl Clone for GetWorkflowInputBuilder
impl Clone for GetWorkflowInputBuilder
source§fn clone(&self) -> GetWorkflowInputBuilder
fn clone(&self) -> GetWorkflowInputBuilder
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 Debug for GetWorkflowInputBuilder
impl Debug for GetWorkflowInputBuilder
source§impl Default for GetWorkflowInputBuilder
impl Default for GetWorkflowInputBuilder
source§fn default() -> GetWorkflowInputBuilder
fn default() -> GetWorkflowInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetWorkflowInputBuilder> for GetWorkflowInputBuilder
impl PartialEq<GetWorkflowInputBuilder> for GetWorkflowInputBuilder
source§fn eq(&self, other: &GetWorkflowInputBuilder) -> bool
fn eq(&self, other: &GetWorkflowInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetWorkflowInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetWorkflowInputBuilder
impl Send for GetWorkflowInputBuilder
impl Sync for GetWorkflowInputBuilder
impl Unpin for GetWorkflowInputBuilder
impl UnwindSafe for GetWorkflowInputBuilder
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