Struct gitlab::types::CommitStatus
[−]
[src]
pub struct CommitStatus { pub id: CommitStatusId, pub sha: ObjectId, pub ref_: Option<String>, pub status: StatusState, pub name: String, pub target_url: Option<String>, pub description: Option<String>, pub created_at: DateTime<UTC>, pub started_at: Option<DateTime<UTC>>, pub finished_at: Option<DateTime<UTC>>, pub allow_failure: bool, pub author: UserBasic, }
A status of a commit.
Fields
id: CommitStatusId
The ID of the commit status.
sha: ObjectId
The object ID of the commit this status is for.
ref_: Option<String>
The name of the reference the status was created for.
status: StatusState
The state of the commit status.
name: String
The name of the commit status.
target_url: Option<String>
The URL associated with the commit status.
description: Option<String>
The description of the commit status.
created_at: DateTime<UTC>
When the commit status was created.
started_at: Option<DateTime<UTC>>
When the commit status started.
finished_at: Option<DateTime<UTC>>
When the commit status completed.
allow_failure: bool
Whether the commit status is allowed to fail.
The author of the commit status.
Trait Implementations
impl Debug for CommitStatus
[src]
impl Clone for CommitStatus
[src]
fn clone(&self) -> CommitStatus
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