Struct aws_sdk_codepipeline::types::StageDeclaration
source · #[non_exhaustive]pub struct StageDeclaration {
pub name: String,
pub blockers: Option<Vec<BlockerDeclaration>>,
pub actions: Vec<ActionDeclaration>,
pub on_failure: Option<FailureConditions>,
}
Expand description
Represents information about a stage and its definition.
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.name: String
The name of the stage.
blockers: Option<Vec<BlockerDeclaration>>
Reserved for future use.
actions: Vec<ActionDeclaration>
The actions included in a stage.
on_failure: Option<FailureConditions>
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
Implementations§
source§impl StageDeclaration
impl StageDeclaration
sourcepub fn blockers(&self) -> &[BlockerDeclaration]
pub fn blockers(&self) -> &[BlockerDeclaration]
Reserved for future use.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .blockers.is_none()
.
sourcepub fn actions(&self) -> &[ActionDeclaration]
pub fn actions(&self) -> &[ActionDeclaration]
The actions included in a stage.
sourcepub fn on_failure(&self) -> Option<&FailureConditions>
pub fn on_failure(&self) -> Option<&FailureConditions>
The method to use when a stage has not completed successfully. For example, configuring this field for rollback will roll back a failed stage automatically to the last successful pipeline execution in the stage.
source§impl StageDeclaration
impl StageDeclaration
sourcepub fn builder() -> StageDeclarationBuilder
pub fn builder() -> StageDeclarationBuilder
Creates a new builder-style object to manufacture StageDeclaration
.
Trait Implementations§
source§impl Clone for StageDeclaration
impl Clone for StageDeclaration
source§fn clone(&self) -> StageDeclaration
fn clone(&self) -> StageDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StageDeclaration
impl Debug for StageDeclaration
source§impl PartialEq for StageDeclaration
impl PartialEq for StageDeclaration
source§fn eq(&self, other: &StageDeclaration) -> bool
fn eq(&self, other: &StageDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StageDeclaration
Auto Trait Implementations§
impl Freeze for StageDeclaration
impl RefUnwindSafe for StageDeclaration
impl Send for StageDeclaration
impl Sync for StageDeclaration
impl Unpin for StageDeclaration
impl UnwindSafe for StageDeclaration
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