pub struct Pipeline {Show 17 fields
pub id: u64,
pub iid: Option<u64>,
pub ref_name: String,
pub status: PipelineStatus,
pub source: Option<String>,
pub sha: String,
pub short_sha: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub duration: Option<f64>,
pub queued_duration: Option<f64>,
pub web_url: String,
pub coverage: Option<String>,
pub user: Option<PipelineUser>,
pub triggered: bool,
}Expand description
Detailed pipeline information.
This includes all fields from PipelineBasic plus additional
details like duration, user information, and more.
Fields§
§id: u64Unique pipeline identifier
iid: Option<u64>Internal ID (project-specific)
ref_name: StringGit reference (branch or tag) the pipeline ran on
status: PipelineStatusCurrent status of the pipeline
source: Option<String>Source that triggered the pipeline
sha: StringGit commit SHA that the pipeline ran on
short_sha: Option<String>Short SHA (first 8 characters)
created_at: DateTime<Utc>When the pipeline was created
updated_at: DateTime<Utc>When the pipeline was last updated
started_at: Option<DateTime<Utc>>When the pipeline started running
finished_at: Option<DateTime<Utc>>When the pipeline finished (success or failure)
duration: Option<f64>Duration of the pipeline execution in seconds
queued_duration: Option<f64>Time spent in queued state before execution
web_url: StringWeb URL to view the pipeline in GitLab UI
coverage: Option<String>Coverage percentage (if coverage reporting is enabled)
user: Option<PipelineUser>User who triggered the pipeline
triggered: boolWhether this pipeline was triggered
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pipeline
impl<'de> Deserialize<'de> for Pipeline
Source§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>,
impl StructuralPartialEq for Pipeline
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more