#[non_exhaustive]
pub struct PipelineExecution { pub pipeline_name: Option<String>, pub pipeline_version: Option<i32>, pub pipeline_execution_id: Option<String>, pub status: Option<PipelineExecutionStatus>, pub status_summary: Option<String>, pub artifact_revisions: Option<Vec<ArtifactRevision>>, }
Expand description

Represents information about an execution of a pipeline.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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 with the specified pipeline execution.

pipeline_version: Option<i32>

The version number of the pipeline with the specified pipeline execution.

pipeline_execution_id: Option<String>

The ID of the pipeline execution.

status: Option<PipelineExecutionStatus>

The status of the pipeline execution.

  • Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.

  • InProgress: The pipeline execution is currently running.

  • Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.

  • Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.

  • Succeeded: The pipeline execution was completed successfully.

  • Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.

  • Failed: The pipeline execution was not completed successfully.

status_summary: Option<String>

A summary that contains a description of the pipeline execution status.

artifact_revisions: Option<Vec<ArtifactRevision>>

A list of ArtifactRevision objects included in a pipeline execution.

Implementations

The name of the pipeline with the specified pipeline execution.

The version number of the pipeline with the specified pipeline execution.

The ID of the pipeline execution.

The status of the pipeline execution.

  • Cancelled: The pipeline’s definition was updated before the pipeline execution could be completed.

  • InProgress: The pipeline execution is currently running.

  • Stopped: The pipeline execution was manually stopped. For more information, see Stopped Executions.

  • Stopping: The pipeline execution received a request to be manually stopped. Depending on the selected stop mode, the execution is either completing or abandoning in-progress actions. For more information, see Stopped Executions.

  • Succeeded: The pipeline execution was completed successfully.

  • Superseded: While this pipeline execution was waiting for the next stage to be completed, a newer pipeline execution advanced and continued through the pipeline instead. For more information, see Superseded Executions.

  • Failed: The pipeline execution was not completed successfully.

A summary that contains a description of the pipeline execution status.

A list of ArtifactRevision objects included in a pipeline execution.

Creates a new builder-style object to manufacture PipelineExecution.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more