Struct gitlab::types::Build
[−]
[src]
pub struct Build { pub id: BuildId, 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<BuildArtifactFile>, pub commit: RepoCommit, pub runner: Option<Runner>, pub pipeline: PipelineBasic, }
Information about a build in Gitlab CI.
Fields
id: BuildId
The ID of the build.
status: StatusState
The status of the build.
stage: String
name: String
The name of the build.
ref_: Option<String>
The name of the reference that was tested.
tag: bool
coverage: Option<f32>
created_at: DateTime<UTC>
When the build was created or marked as pending.
started_at: Option<DateTime<UTC>>
When the build was started.
finished_at: Option<DateTime<UTC>>
When the build completed.
user: Option<User>
The user which ran the build.
artifacts_file: Option<BuildArtifactFile>
The artifact file uploaded from the build.
commit: RepoCommit
The commit the build tested.
runner: Option<Runner>
The runner which ran the build.
pipeline: PipelineBasic
The pipeline the build belongs to.
Trait Implementations
impl Debug for Build
[src]
impl Clone for Build
[src]
fn clone(&self) -> Build
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