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: PipelineIdThe ID of the pipeline.
project_id: ProjectIdThe ID of the project holding the pipeline.
sha: ObjectIdThe object ID that was tested.
ref_: Option<String>The name of the reference that was tested.
status: StatusStateThe status of the pipeline.
web_url: StringThe URL to the pipeline page.
before_sha: Option<ObjectId>FIXME What are the semantics of this field?
tag: boolWas 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: UserBasicThe user who triggered this pipeline.
detailed_status: ValueFIXME: What are the semantics of this field? See https://gitlab.com/gitlab-org/gitlab-foss/blob/master/app/serializers/detailed_status_entity.rb.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
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