#[non_exhaustive]pub struct GetPipelineStateOutput {
pub pipeline_name: Option<String>,
pub pipeline_version: Option<i32>,
pub stage_states: Option<Vec<StageState>>,
pub created: Option<DateTime>,
pub updated: Option<DateTime>,
/* private fields */
}
Expand description
Represents the output of a GetPipelineState
action.
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_name: Option<String>
The name of the pipeline for which you want to get the state.
pipeline_version: Option<i32>
The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1
.
stage_states: Option<Vec<StageState>>
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
created: Option<DateTime>
The date and time the pipeline was created, in timestamp format.
updated: Option<DateTime>
The date and time the pipeline was last updated, in timestamp format.
Implementations§
source§impl GetPipelineStateOutput
impl GetPipelineStateOutput
sourcepub fn pipeline_name(&self) -> Option<&str>
pub fn pipeline_name(&self) -> Option<&str>
The name of the pipeline for which you want to get the state.
sourcepub fn pipeline_version(&self) -> Option<i32>
pub fn pipeline_version(&self) -> Option<i32>
The version number of the pipeline.
A newly created pipeline is always assigned a version number of 1
.
sourcepub fn stage_states(&self) -> &[StageState]
pub fn stage_states(&self) -> &[StageState]
A list of the pipeline stage output information, including stage name, state, most recent run details, whether the stage is disabled, and other data.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stage_states.is_none()
.
source§impl GetPipelineStateOutput
impl GetPipelineStateOutput
sourcepub fn builder() -> GetPipelineStateOutputBuilder
pub fn builder() -> GetPipelineStateOutputBuilder
Creates a new builder-style object to manufacture GetPipelineStateOutput
.
Trait Implementations§
source§impl Clone for GetPipelineStateOutput
impl Clone for GetPipelineStateOutput
source§fn clone(&self) -> GetPipelineStateOutput
fn clone(&self) -> GetPipelineStateOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPipelineStateOutput
impl Debug for GetPipelineStateOutput
source§impl PartialEq for GetPipelineStateOutput
impl PartialEq for GetPipelineStateOutput
source§impl RequestId for GetPipelineStateOutput
impl RequestId for GetPipelineStateOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetPipelineStateOutput
Auto Trait Implementations§
impl Freeze for GetPipelineStateOutput
impl RefUnwindSafe for GetPipelineStateOutput
impl Send for GetPipelineStateOutput
impl Sync for GetPipelineStateOutput
impl Unpin for GetPipelineStateOutput
impl UnwindSafe for GetPipelineStateOutput
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