pub struct GitLabPullRequest {Show 17 fields
pub id: u32,
pub iid: u32,
pub state: GitLabPullRequestState,
pub title: String,
pub description: String,
pub source_branch: String,
pub target_branch: String,
pub web_url: String,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
pub author: GitLabUser,
pub closed_by: Option<GitLabUser>,
pub reviewers: Option<Vec<GitLabUser>>,
pub sha: String,
pub diff_refs: Option<GitLabDiffRefs>,
pub should_remove_source_branch: Option<bool>,
pub force_remove_source_branch: bool,
}Fields§
§id: u32§iid: u32§state: GitLabPullRequestState§title: String§description: String§source_branch: String§target_branch: String§web_url: String§created_at: OffsetDateTime§updated_at: OffsetDateTime§closed_by: Option<GitLabUser>§reviewers: Option<Vec<GitLabUser>>§sha: String§diff_refs: Option<GitLabDiffRefs>§should_remove_source_branch: Option<bool>§force_remove_source_branch: boolTrait Implementations§
Source§impl Debug for GitLabPullRequest
impl Debug for GitLabPullRequest
Source§impl<'de> Deserialize<'de> for GitLabPullRequest
impl<'de> Deserialize<'de> for GitLabPullRequest
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 From<GitLabPullRequest> for PullRequest
impl From<GitLabPullRequest> for PullRequest
Source§fn from(pr: GitLabPullRequest) -> PullRequest
fn from(pr: GitLabPullRequest) -> PullRequest
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GitLabPullRequest
impl RefUnwindSafe for GitLabPullRequest
impl Send for GitLabPullRequest
impl Sync for GitLabPullRequest
impl Unpin for GitLabPullRequest
impl UnwindSafe for GitLabPullRequest
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