Struct gitlab::types::Pipeline[][src]

pub struct Pipeline {
Show 18 fields pub id: PipelineId, pub project_id: ProjectId, pub sha: ObjectId, pub ref_: Option<String>, pub status: StatusState, pub web_url: String, pub before_sha: Option<ObjectId>, pub tag: bool, pub yaml_errors: Option<String>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub started_at: Option<DateTime<Utc>>, pub finished_at: Option<DateTime<Utc>>, pub committed_at: Option<DateTime<Utc>>, pub duration: Option<u64>, pub coverage: Option<String>, pub user: UserBasic, pub detailed_status: Value,
}
Expand description

More information about a pipeline in Gitlab CI.

Fields

id: PipelineId

The ID of the pipeline.

project_id: ProjectId

The ID of the project holding the pipeline.

sha: ObjectId

The object ID that was tested.

ref_: Option<String>

The name of the reference that was tested.

status: StatusState

The status of the pipeline.

web_url: String

The URL to the pipeline page.

before_sha: Option<ObjectId>

FIXME What are the semantics of this field?

tag: bool

Was this pipeline triggered by a tag.

yaml_errors: Option<String>

Error returned by the parser of gitlab-ci.yml, if any.

created_at: Option<DateTime<Utc>>

When the pipeline was created.

updated_at: Option<DateTime<Utc>>

When the pipeline was last updated.

started_at: Option<DateTime<Utc>>

When the pipeline began running.

finished_at: Option<DateTime<Utc>>

When the pipeline completed.

committed_at: Option<DateTime<Utc>>

FIXME What are the semantics of this field?

duration: Option<u64>

Duration of pipeline in seconds.

coverage: Option<String>

FIXME What are the semantics of this field?

user: UserBasic

The user who triggered this pipeline.

detailed_status: Value

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

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

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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