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>author: UserBasic

The author of the commit status.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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