#[non_exhaustive]pub struct ActionExecutionOutputBuilder { /* private fields */ }
Expand description
A builder for ActionExecutionOutput
.
Implementations§
source§impl ActionExecutionOutputBuilder
impl ActionExecutionOutputBuilder
sourcepub fn output_artifacts(self, input: ArtifactDetail) -> Self
pub fn output_artifacts(self, input: ArtifactDetail) -> Self
Appends an item to output_artifacts
.
To override the contents of this collection use set_output_artifacts
.
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn set_output_artifacts(self, input: Option<Vec<ArtifactDetail>>) -> Self
pub fn set_output_artifacts(self, input: Option<Vec<ArtifactDetail>>) -> Self
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn get_output_artifacts(&self) -> &Option<Vec<ArtifactDetail>>
pub fn get_output_artifacts(&self) -> &Option<Vec<ArtifactDetail>>
Details of output artifacts of the action that correspond to the action execution.
sourcepub fn execution_result(self, input: ActionExecutionResult) -> Self
pub fn execution_result(self, input: ActionExecutionResult) -> Self
Execution result information listed in the output details for an action execution.
sourcepub fn set_execution_result(self, input: Option<ActionExecutionResult>) -> Self
pub fn set_execution_result(self, input: Option<ActionExecutionResult>) -> Self
Execution result information listed in the output details for an action execution.
sourcepub fn get_execution_result(&self) -> &Option<ActionExecutionResult>
pub fn get_execution_result(&self) -> &Option<ActionExecutionResult>
Execution result information listed in the output details for an action execution.
sourcepub fn output_variables(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn output_variables( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to output_variables
.
To override the contents of this collection use set_output_variables
.
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn set_output_variables(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_output_variables( self, input: Option<HashMap<String, String>>, ) -> Self
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn get_output_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_output_variables(&self) -> &Option<HashMap<String, String>>
The outputVariables field shows the key-value pairs that were output as part of that execution.
sourcepub fn build(self) -> ActionExecutionOutput
pub fn build(self) -> ActionExecutionOutput
Consumes the builder and constructs a ActionExecutionOutput
.
Trait Implementations§
source§impl Clone for ActionExecutionOutputBuilder
impl Clone for ActionExecutionOutputBuilder
source§fn clone(&self) -> ActionExecutionOutputBuilder
fn clone(&self) -> ActionExecutionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionExecutionOutputBuilder
impl Debug for ActionExecutionOutputBuilder
source§impl Default for ActionExecutionOutputBuilder
impl Default for ActionExecutionOutputBuilder
source§fn default() -> ActionExecutionOutputBuilder
fn default() -> ActionExecutionOutputBuilder
source§impl PartialEq for ActionExecutionOutputBuilder
impl PartialEq for ActionExecutionOutputBuilder
source§fn eq(&self, other: &ActionExecutionOutputBuilder) -> bool
fn eq(&self, other: &ActionExecutionOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionExecutionOutputBuilder
Auto Trait Implementations§
impl Freeze for ActionExecutionOutputBuilder
impl RefUnwindSafe for ActionExecutionOutputBuilder
impl Send for ActionExecutionOutputBuilder
impl Sync for ActionExecutionOutputBuilder
impl Unpin for ActionExecutionOutputBuilder
impl UnwindSafe for ActionExecutionOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more