Struct git_cliff_core::remote::gitlab::GitLabMergeRequest
source · pub struct GitLabMergeRequest {Show 13 fields
pub id: i64,
pub iid: i64,
pub project_id: i64,
pub title: String,
pub description: String,
pub state: String,
pub created_at: String,
pub author: GitLabUser,
pub sha: String,
pub merge_commit_sha: Option<String>,
pub squash_commit_sha: Option<String>,
pub web_url: String,
pub labels: Vec<String>,
}Available on (crate features
github or gitlab or bitbucket) and crate feature gitlab only.Expand description
Representation of a single pull request.
Fields§
§id: i64Id
iid: i64Iid
project_id: i64ProjectId
title: StringTitle
description: StringDescription
state: StringState
created_at: StringCreated At
Author
sha: StringCommit Sha
merge_commit_sha: Option<String>Merge Commit Sha
squash_commit_sha: Option<String>Squash Commit Sha
web_url: StringWebUrl
labels: Vec<String>Labels
Trait Implementations§
source§impl Clone for GitLabMergeRequest
impl Clone for GitLabMergeRequest
source§fn clone(&self) -> GitLabMergeRequest
fn clone(&self) -> GitLabMergeRequest
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 GitLabMergeRequest
impl Debug for GitLabMergeRequest
source§impl Default for GitLabMergeRequest
impl Default for GitLabMergeRequest
source§fn default() -> GitLabMergeRequest
fn default() -> GitLabMergeRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GitLabMergeRequest
impl<'de> Deserialize<'de> for GitLabMergeRequest
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
source§impl PartialEq for GitLabMergeRequest
impl PartialEq for GitLabMergeRequest
source§fn eq(&self, other: &GitLabMergeRequest) -> bool
fn eq(&self, other: &GitLabMergeRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl RemoteEntry for GitLabMergeRequest
impl RemoteEntry for GitLabMergeRequest
source§impl Serialize for GitLabMergeRequest
impl Serialize for GitLabMergeRequest
impl StructuralPartialEq for GitLabMergeRequest
Auto Trait Implementations§
impl Freeze for GitLabMergeRequest
impl RefUnwindSafe for GitLabMergeRequest
impl Send for GitLabMergeRequest
impl Sync for GitLabMergeRequest
impl Unpin for GitLabMergeRequest
impl UnwindSafe for GitLabMergeRequest
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more