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
remote
and gitlab
only.Expand description
Representation of a single pull request.
Fields§
§id: i64
Id
iid: i64
Iid
project_id: i64
Project Id
title: String
Title
description: String
Description
state: String
State
created_at: String
Created At
Author
sha: String
Commit Sha
merge_commit_sha: Option<String>
Merge Commit Sha
squash_commit_sha: Option<String>
Squash Commit Sha
web_url: String
Web Url
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 duplicate 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§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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