Struct aws_sdk_codepipeline::types::StageExecution
source · #[non_exhaustive]pub struct StageExecution {
pub pipeline_execution_id: String,
pub status: StageExecutionStatus,
pub type: Option<ExecutionType>,
}
Expand description
Represents information about the run of a stage.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.pipeline_execution_id: String
The ID of the pipeline execution associated with the stage.
status: StageExecutionStatus
The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
type: Option<ExecutionType>
The type of pipeline execution for the stage, such as a rollback pipeline execution.
Implementations§
source§impl StageExecution
impl StageExecution
sourcepub fn pipeline_execution_id(&self) -> &str
pub fn pipeline_execution_id(&self) -> &str
The ID of the pipeline execution associated with the stage.
sourcepub fn status(&self) -> &StageExecutionStatus
pub fn status(&self) -> &StageExecutionStatus
The status of the stage, or for a completed stage, the last status of the stage.
A status of cancelled means that the pipeline’s definition was updated before the stage execution could be completed.
sourcepub fn type(&self) -> Option<&ExecutionType>
pub fn type(&self) -> Option<&ExecutionType>
The type of pipeline execution for the stage, such as a rollback pipeline execution.
source§impl StageExecution
impl StageExecution
sourcepub fn builder() -> StageExecutionBuilder
pub fn builder() -> StageExecutionBuilder
Creates a new builder-style object to manufacture StageExecution
.
Trait Implementations§
source§impl Clone for StageExecution
impl Clone for StageExecution
source§fn clone(&self) -> StageExecution
fn clone(&self) -> StageExecution
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StageExecution
impl Debug for StageExecution
source§impl PartialEq for StageExecution
impl PartialEq for StageExecution
source§fn eq(&self, other: &StageExecution) -> bool
fn eq(&self, other: &StageExecution) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StageExecution
Auto Trait Implementations§
impl Freeze for StageExecution
impl RefUnwindSafe for StageExecution
impl Send for StageExecution
impl Sync for StageExecution
impl Unpin for StageExecution
impl UnwindSafe for StageExecution
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> 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