pub enum PrBlocker {
Conflicting,
ChangesRequested,
ChecksFailing,
}Expand description
What is standing between a pull request and its merge — the reason an authored one lands in
Bucket::NeedsFixing, so a row can say what a bucket only implies.
classify_pr buckets an authored PR on pr_blocker being Some, so for those the
displayed reason and the bucketing reason are one judgement and cannot drift.
Frontends also render it for rows they did not bucket this way — a PR awaiting your review can carry a conflict or another reviewer’s rejection, and saying so is useful even though the row sits under “Needs your review”. So treat it as “what blocks this PR”, not as a claim about which bucket the row is in.
Variants§
Conflicting
The branch no longer merges cleanly.
ChangesRequested
A reviewer asked for changes.
ChecksFailing
Required checks came back red.
Implementations§
Trait Implementations§
impl Copy for PrBlocker
impl Eq for PrBlocker
impl StructuralPartialEq for PrBlocker
Auto Trait Implementations§
impl Freeze for PrBlocker
impl RefUnwindSafe for PrBlocker
impl Send for PrBlocker
impl Sync for PrBlocker
impl Unpin for PrBlocker
impl UnsafeUnpin for PrBlocker
impl UnwindSafe for PrBlocker
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