pub enum MergeBlocker {
ChecksPending,
Conflicts,
None,
}Expand description
A structural reason the platform won’t merge a review, read from its API
rather than its error text - so a wording change can’t silently reclassify
a real failure. None means nothing structural blocks the merge, or the
platform did not say (the caller falls back to matching the error text).
Variants§
ChecksPending
Required checks or reviews have not passed yet.
Conflicts
The review conflicts with its base branch.
None
Nothing structural blocks the merge, or the platform did not say.
Trait Implementations§
Source§impl Clone for MergeBlocker
impl Clone for MergeBlocker
Source§fn clone(&self) -> MergeBlocker
fn clone(&self) -> MergeBlocker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MergeBlocker
Source§impl Debug for MergeBlocker
impl Debug for MergeBlocker
impl Eq for MergeBlocker
Source§impl PartialEq for MergeBlocker
impl PartialEq for MergeBlocker
Source§fn eq(&self, other: &MergeBlocker) -> bool
fn eq(&self, other: &MergeBlocker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MergeBlocker
Auto Trait Implementations§
impl Freeze for MergeBlocker
impl RefUnwindSafe for MergeBlocker
impl Send for MergeBlocker
impl Sync for MergeBlocker
impl Unpin for MergeBlocker
impl UnsafeUnpin for MergeBlocker
impl UnwindSafe for MergeBlocker
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