[][src]Struct gitlab::types::CommitStatus

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 coverage: Option<f64>,
    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.

coverage: Option<f64>author: UserBasic

The author of the commit status.

Trait Implementations

impl Clone for CommitStatus[src]

impl Debug for CommitStatus[src]

impl Serialize for CommitStatus[src]

impl<'de> Deserialize<'de> for CommitStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err