Struct gitlab::types::Job
[−]
[src]
pub struct Job { pub id: JobId, pub status: StatusState, pub stage: String, pub name: String, pub ref_: Option<String>, pub tag: bool, pub coverage: Option<f32>, 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, }
Information about a job in Gitlab CI.
Fields
id: JobId
The ID of the job.
status: StatusState
The status of the job.
stage: String
name: String
The name of the job.
ref_: Option<String>
The name of the reference that was tested.
tag: bool
coverage: Option<f32>
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: RepoCommit
The commit the job tested.
runner: Option<Runner>
The runner which ran the job.
pipeline: PipelineBasic
The pipeline the job belongs to.
Trait Implementations
impl Debug for Job
[src]
impl Clone for Job
[src]
fn clone(&self) -> Job
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more