Struct gitlab::types::CommitStatus [−][src]
pub struct CommitStatus {Show 13 fields
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 coverage: Option<f64>,
pub author: UserBasic,
}
Expand description
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.
coverage: Option<f64>
The author of the commit status.
Trait Implementations
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 CommitStatus
impl Send for CommitStatus
impl Sync for CommitStatus
impl Unpin for CommitStatus
impl UnwindSafe for CommitStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more