Enum gitlab::webhooks::MergeStatus
source · pub enum MergeStatus {
Preparing,
Unchecked,
Checking,
CanBeMerged,
CannotBeMerged,
CannotBeMergedRecheck,
CannotBeMergedRechecking,
}
Expand description
The status of the possible merge for a merge request.
Variants§
Preparing
The merge request has just been created.
Unchecked
The merge request has not been checked yet.
Checking
The merge request is currently being checked.
CanBeMerged
The merge request may be merged.
CannotBeMerged
The merge request may not be merged yet.
CannotBeMergedRecheck
The merge request has not been checked but previously could not be merged.
CannotBeMergedRechecking
The merge request could not be merged previously, but is being rechecked.
Trait Implementations§
source§impl Clone for MergeStatus
impl Clone for MergeStatus
source§fn clone(&self) -> MergeStatus
fn clone(&self) -> MergeStatus
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 MergeStatus
impl Debug for MergeStatus
source§impl<'de> Deserialize<'de> for MergeStatus
impl<'de> Deserialize<'de> for MergeStatus
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 MergeStatus
impl PartialEq for MergeStatus
source§fn eq(&self, other: &MergeStatus) -> bool
fn eq(&self, other: &MergeStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MergeStatus
impl Eq for MergeStatus
impl StructuralPartialEq for MergeStatus
Auto Trait Implementations§
impl Freeze for MergeStatus
impl RefUnwindSafe for MergeStatus
impl Send for MergeStatus
impl Sync for MergeStatus
impl Unpin for MergeStatus
impl UnwindSafe for MergeStatus
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