Struct gitlab::types::CommitStatus
source · 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,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A status of a commit.
Fields§
§id: CommitStatusId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the commit status.
sha: ObjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The object ID of the commit this status is for.
ref_: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the reference the status was created for.
status: StatusState
👎Deprecated since 0.1609.0: define deserialization types in client code
The state of the commit status.
name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The name of the commit status.
target_url: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The URL associated with the commit status.
description: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The description of the commit status.
created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the commit status was created.
started_at: Option<DateTime<Utc>>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the commit status started.
finished_at: Option<DateTime<Utc>>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the commit status completed.
allow_failure: bool
👎Deprecated since 0.1609.0: define deserialization types in client code
Whether the commit status is allowed to fail.
coverage: Option<f64>
👎Deprecated since 0.1609.0: define deserialization types in client code
👎Deprecated since 0.1609.0: define deserialization types in client code
The author of the commit status.
Trait Implementations§
source§impl Clone for CommitStatus
impl Clone for CommitStatus
source§fn clone(&self) -> CommitStatus
fn clone(&self) -> CommitStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommitStatus
impl Debug for CommitStatus
source§impl<'de> Deserialize<'de> for CommitStatus
impl<'de> Deserialize<'de> for CommitStatus
source§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 Freeze for CommitStatus
impl RefUnwindSafe for CommitStatus
impl Send for CommitStatus
impl Sync for CommitStatus
impl Unpin for CommitStatus
impl UnwindSafe for CommitStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more