Struct gitlab::types::MergeRequestCommit
source · pub struct MergeRequestCommit {
pub id: ObjectId,
pub short_id: ObjectId,
pub title: String,
pub author_name: String,
pub author_email: String,
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.
👎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.
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 MergeRequestCommit
impl Clone for MergeRequestCommit
source§fn clone(&self) -> MergeRequestCommit
fn clone(&self) -> MergeRequestCommit
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 MergeRequestCommit
impl Debug for MergeRequestCommit
source§impl<'de> Deserialize<'de> for MergeRequestCommit
impl<'de> Deserialize<'de> for MergeRequestCommit
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 MergeRequestCommit
impl RefUnwindSafe for MergeRequestCommit
impl Send for MergeRequestCommit
impl Sync for MergeRequestCommit
impl Unpin for MergeRequestCommit
impl UnwindSafe for MergeRequestCommit
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