Enum gitlab::webhooks::MergeRequestAction
source · pub enum MergeRequestAction {
Update,
Open,
Close,
Reopen,
Approved,
Unapproved,
Approval,
Unapproval,
Merge,
}Expand description
Actions which may occur on a merge request.
Variants§
Update
The merge request was updated.
Open
The merge request was opened.
Close
The merge request was closed.
Reopen
The merge request was reopened.
Approved
The merge request was approved.
Unapproved
A merge request approval was revoked.
Approval
A merge request approval has been added
Unapproval
A merge request approval has been removed
Merge
The merge request was merged.
Trait Implementations§
source§impl Clone for MergeRequestAction
impl Clone for MergeRequestAction
source§fn clone(&self) -> MergeRequestAction
fn clone(&self) -> MergeRequestAction
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 MergeRequestAction
impl Debug for MergeRequestAction
source§impl<'de> Deserialize<'de> for MergeRequestAction
impl<'de> Deserialize<'de> for MergeRequestAction
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 MergeRequestAction
impl PartialEq for MergeRequestAction
source§fn eq(&self, other: &MergeRequestAction) -> bool
fn eq(&self, other: &MergeRequestAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for MergeRequestAction
impl Serialize for MergeRequestAction
impl Copy for MergeRequestAction
impl Eq for MergeRequestAction
impl StructuralEq for MergeRequestAction
impl StructuralPartialEq for MergeRequestAction
Auto Trait Implementations§
impl RefUnwindSafe for MergeRequestAction
impl Send for MergeRequestAction
impl Sync for MergeRequestAction
impl Unpin for MergeRequestAction
impl UnwindSafe for MergeRequestAction
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.