[][src]Struct gitlab::webhooks::PipelineHookAttrs

pub struct PipelineHookAttrs {
    pub id: PipelineId,
    pub sha: ObjectId,
    pub ref_: Option<String>,
    pub status: StatusState,
    pub before_sha: String,
    pub tag: bool,
    pub created_at: HookDate,
    pub finished_at: Option<HookDate>,
    pub duration: Option<u64>,
    pub source: String,
    pub stages: Vec<String>,
    pub variables: Vec<PipelineVariable>,
}

Fields

id: PipelineIdsha: 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.

before_sha: Stringtag: bool

Was this pipeline triggered by a tag.

created_at: HookDate

When the pipeline was created.

finished_at: Option<HookDate>

When the pipeline completed.

duration: Option<u64>

Duration of pipeline in seconds.

source: String

What triggered the pipeline.

stages: Vec<String>

The stages of the pipeline.

variables: Vec<PipelineVariable>

Environment variables manually set by the user starting the pipeline.

Trait Implementations

impl Clone for PipelineHookAttrs[src]

impl Debug for PipelineHookAttrs[src]

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

impl Serialize for PipelineHookAttrs[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.