#[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>,
}
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
sourceimpl 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) -> Option<&[StageState]>
pub fn stage_states(&self) -> Option<&[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.
sourceimpl GetPipelineStateOutput
impl GetPipelineStateOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetPipelineStateOutput
Trait Implementations
sourceimpl Clone for GetPipelineStateOutput
impl Clone for GetPipelineStateOutput
sourcefn clone(&self) -> GetPipelineStateOutput
fn clone(&self) -> GetPipelineStateOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetPipelineStateOutput
impl Debug for GetPipelineStateOutput
sourceimpl PartialEq<GetPipelineStateOutput> for GetPipelineStateOutput
impl PartialEq<GetPipelineStateOutput> for GetPipelineStateOutput
sourcefn eq(&self, other: &GetPipelineStateOutput) -> bool
fn eq(&self, other: &GetPipelineStateOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetPipelineStateOutput) -> bool
fn ne(&self, other: &GetPipelineStateOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetPipelineStateOutput
Auto Trait Implementations
impl RefUnwindSafe for GetPipelineStateOutput
impl Send for GetPipelineStateOutput
impl Sync for GetPipelineStateOutput
impl Unpin for GetPipelineStateOutput
impl UnwindSafe for GetPipelineStateOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more