Struct gitlab::types::Pipeline [−][src]
pub struct Pipeline {}Show 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,
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
FIXME: 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
impl<'de> Deserialize<'de> for Pipeline
[src]
impl<'de> Deserialize<'de> for Pipeline
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,