pub enum PrCheckState {
Success,
Failure,
Pending,
None,
}Expand description
The rolled-up CI verdict for a pull request.
Variants§
Success
Every reported check passed (or was skipped/neutral).
Failure
At least one check failed — failure dominates every other state.
Pending
At least one check is still running, or reported a state we do not recognise. Never a false pass.
None
No checks reported at all. Renders no badge.
Trait Implementations§
Source§impl Clone for PrCheckState
impl Clone for PrCheckState
Source§fn clone(&self) -> PrCheckState
fn clone(&self) -> PrCheckState
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 PrCheckState
Source§impl Debug for PrCheckState
impl Debug for PrCheckState
impl Eq for PrCheckState
Source§impl PartialEq for PrCheckState
impl PartialEq for PrCheckState
Source§impl Serialize for PrCheckState
impl Serialize for PrCheckState
impl StructuralPartialEq for PrCheckState
Auto Trait Implementations§
impl Freeze for PrCheckState
impl RefUnwindSafe for PrCheckState
impl Send for PrCheckState
impl Sync for PrCheckState
impl Unpin for PrCheckState
impl UnsafeUnpin for PrCheckState
impl UnwindSafe for PrCheckState
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> 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.