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

pub struct Pipeline {
    pub id: PipelineId,
    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,
}

More information about a pipeline in Gitlab CI.

Fields

id: PipelineId

The ID of 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

impl Clone for Pipeline[src]

impl Debug for Pipeline[src]

impl<'de> Deserialize<'de> for Pipeline[src]

impl Serialize for Pipeline[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.