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 */
}Expand description
A commit in a project with statistics.
Fields§
§id: ObjectIdThe ID of the commit.
short_id: ObjectIdThe short ID of the commit.
title: StringThe summary of the commit.
parent_ids: Vec<ObjectId>The commit ID of the parents of the commit.
The commit author’s name.
The commit author’s email address.
The commit’s authorship date.
committer_name: StringThe committer’s name.
committer_email: StringThe committer’s email address.
committed_date: DateTime<Utc>The commit’s commit date.
created_at: DateTime<Utc>§message: StringThe full commit message.
stats: Option<RepoCommitStats>Statistics about the commit.
last_pipeline: Option<PipelineBasic>The last pipeline for this commit, if any.
project_id: ProjectIdThe 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 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