Struct gitlab::types::RepoCommit
source · pub struct RepoCommit {
pub id: ObjectId,
pub short_id: ObjectId,
pub title: String,
pub parent_ids: Option<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,
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
A commit in a project.
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: Option<Vec<ObjectId>>
👎Deprecated since 0.1609.0: define deserialization types in client code
The commit ID of the parents of the commit. Can be null on projects/:id/repository/branches call
👎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.
Trait Implementations§
source§impl Clone for RepoCommit
impl Clone for RepoCommit
source§fn clone(&self) -> RepoCommit
fn clone(&self) -> RepoCommit
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 RepoCommit
impl Debug for RepoCommit
source§impl<'de> Deserialize<'de> for RepoCommit
impl<'de> Deserialize<'de> for RepoCommit
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 RepoCommit
impl RefUnwindSafe for RepoCommit
impl Send for RepoCommit
impl Sync for RepoCommit
impl Unpin for RepoCommit
impl UnwindSafe for RepoCommit
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