pub enum Mergeability {
Mergeable,
Conflicting,
Unknown,
}Expand description
GitHub’s mergeability verdict for a tracked PR (gh pr view --json mergeable, DESIGN.md §8): whether a review task’s branch still merges
cleanly with its base. Read fresh and never stored — the same
rendered-not-stored shape as the incomplete-report flag — it is what turns a
CONFLICTING PR into the informational [branch conflicts] marker.
Variants§
Mergeable
The branch merges cleanly into its base — no marker.
Conflicting
The branch conflicts with the moved base — surface the marker so the operator knows to resolve it before merging.
Unknown
GitHub has not finished computing it, or gave no usable answer — no signal. Never treated as a conflict.
Implementations§
Trait Implementations§
Source§impl Clone for Mergeability
impl Clone for Mergeability
Source§fn clone(&self) -> Mergeability
fn clone(&self) -> Mergeability
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 Mergeability
Source§impl Debug for Mergeability
impl Debug for Mergeability
impl Eq for Mergeability
Source§impl PartialEq for Mergeability
impl PartialEq for Mergeability
impl StructuralPartialEq for Mergeability
Auto Trait Implementations§
impl Freeze for Mergeability
impl RefUnwindSafe for Mergeability
impl Send for Mergeability
impl Sync for Mergeability
impl Unpin for Mergeability
impl UnsafeUnpin for Mergeability
impl UnwindSafe for Mergeability
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.