[−][src]Struct gitlab::webhooks::MergeRequestHookAttrs
Merge request information exposed in hooks.
Fields
source: Option<ProjectHookAttrs>
The source project of the merge request.
If this is None
, the source repository has been deleted.
target: ProjectHookAttrs
The target project of the merge request.
last_commit: Option<CommitHookAttrs>
work_in_progress: bool
Whether the merge request is a work-in-progress or not.
in_progress_merge_commit_sha: Option<ObjectId>
The object ID of the merge commit which is currently being handled.
id: MergeRequestId
The ID of the merge request.
target_branch: String
The target branch of the merge request.
target_project_id: ProjectId
The ID of the target project.
source_branch: String
The source branch of the merge request.
source_project_id: Option<ProjectId>
The ID of the source project.
The ID of the author of the merge request.
assignee_id: Option<UserId>
The ID of the assignee of the merge request.
title: String
The title of the merge request.
created_at: HookDate
When the merge request was created.
updated_at: HookDate
When the merge request was last updated.
deleted_at: Option<HookDate>
When the merge request was deleted.
locked_at: Option<HookDate>
When the merge request was locked.
updated_by_id: Option<UserId>
The ID of the user which last updated the merge request.
merge_commit_sha: Option<ObjectId>
The object ID of the commit which merged the merge request.
merge_error: Option<Value>
merge_params: MergeRequestParams
The parameters for merging the merge request.
merge_user_id: Option<UserId>
The user which merged the merge request.
merge_when_pipeline_succeeds: bool
Whether the merge request will be merged once all builds succeed or not.
milestone_id: Option<MilestoneId>
The milestone of the merge request.
oldrev: Option<ObjectId>
state: MergeRequestState
The state of the merge request.
merge_status: MergeStatus
The merge status of the merge request.
iid: MergeRequestInternalId
The user-visible ID of the merge request.
description: Option<String>
The description of the merge request.
url: Option<String>
The URL of the merge request.
action: Option<MergeRequestAction>
The type of action which caused the hook.
time_estimate: u64
Trait Implementations
impl Clone for MergeRequestHookAttrs
[src]
fn clone(&self) -> MergeRequestHookAttrs
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MergeRequestHookAttrs
[src]
impl<'de> Deserialize<'de> for MergeRequestHookAttrs
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for MergeRequestHookAttrs
[src]
Auto Trait Implementations
impl RefUnwindSafe for MergeRequestHookAttrs
impl Send for MergeRequestHookAttrs
impl Sync for MergeRequestHookAttrs
impl Unpin for MergeRequestHookAttrs
impl UnwindSafe for MergeRequestHookAttrs
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,