Struct gitlab::types::RepoCommitDetail
source · pub struct RepoCommitDetail {Show 15 fields
pub id: ObjectId,
pub short_id: ObjectId,
pub title: String,
pub parent_ids: Vec<ObjectId>,
pub author_name: String,
pub author_email: String,
pub authored_date: DateTime<Utc>,
pub committer_name: String,
pub committer_email: String,
pub committed_date: DateTime<Utc>,
pub created_at: DateTime<Utc>,
pub message: String,
pub stats: Option<RepoCommitStats>,
pub last_pipeline: Option<PipelineBasic>,
pub project_id: ProjectId,
/* private fields */
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A commit in a project with statistics.
Fields§
§id: ObjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the commit.
short_id: ObjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The short ID of the commit.
title: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The summary of the commit.
parent_ids: Vec<ObjectId>
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit ID of the parents of the commit.
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit author’s name.
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit author’s email address.
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit’s authorship date.
committer_name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The committer’s name.
committer_email: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The committer’s email address.
committed_date: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit’s commit date.
created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
§message: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The full commit message.
stats: Option<RepoCommitStats>
👎Deprecated since 0.1609.0: define deserialization types in client code
Statistics about the commit.
last_pipeline: Option<PipelineBasic>
👎Deprecated since 0.1609.0: define deserialization types in client code
The last pipeline for this commit, if any.
project_id: ProjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The project associated with the commit.
Trait Implementations§
source§impl Clone for RepoCommitDetail
impl Clone for RepoCommitDetail
source§fn clone(&self) -> RepoCommitDetail
fn clone(&self) -> RepoCommitDetail
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 RepoCommitDetail
impl Debug for RepoCommitDetail
source§impl<'de> Deserialize<'de> for RepoCommitDetail
impl<'de> Deserialize<'de> for RepoCommitDetail
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 RepoCommitDetail
impl RefUnwindSafe for RepoCommitDetail
impl Send for RepoCommitDetail
impl Sync for RepoCommitDetail
impl Unpin for RepoCommitDetail
impl UnwindSafe for RepoCommitDetail
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