pub struct Job {Show 20 fields
pub id: JobId,
pub status: StatusState,
pub stage: String,
pub name: String,
pub ref_: Option<String>,
pub tag: bool,
pub coverage: Option<f64>,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub user: Option<User>,
pub artifacts_file: Option<JobArtifactFile>,
pub commit: RepoCommit,
pub runner: Option<Runner>,
pub pipeline: PipelineBasic,
pub allow_failure: bool,
pub duration: Option<f64>,
pub artifacts: Vec<JobArtifact>,
pub artifacts_expire_at: Option<DateTime<Utc>>,
pub web_url: String,
}Expand description
Information about a job in Gitlab CI.
Fields§
§id: JobIdThe ID of the job.
status: StatusStateThe status of the job.
stage: String§name: StringThe name of the job.
ref_: Option<String>The name of the reference that was tested.
tag: bool§coverage: Option<f64>§created_at: DateTime<Utc>When the job was created or marked as pending.
started_at: Option<DateTime<Utc>>When the job was started.
finished_at: Option<DateTime<Utc>>When the job completed.
user: Option<User>The user which ran the job.
artifacts_file: Option<JobArtifactFile>The artifact file uploaded from the job.
commit: RepoCommitThe commit the job tested.
runner: Option<Runner>The runner which ran the job.
pipeline: PipelineBasicThe pipeline the job belongs to.
allow_failure: bool§duration: Option<f64>§artifacts: Vec<JobArtifact>§artifacts_expire_at: Option<DateTime<Utc>>§web_url: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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
Mutably borrows from an owned value. Read more