#[non_exhaustive]pub enum CiStatus {
Passing,
Failing,
Pending,
None,
}Expand description
The coarse CI status for a PR/MR, bucketed into the four states a caller acts
on. GitHub aggregates its per-check buckets into this; GitLab maps its
pipeline status; Gitea’s tea has no checks command, so
pr_checks is
Unsupported there.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Passing
Everything that ran passed.
Failing
At least one check failed or was canceled.
Pending
At least one check is still running, and none failed.
None
No checks/pipeline ran.
Trait Implementations§
impl Copy for CiStatus
impl Eq for CiStatus
impl StructuralPartialEq for CiStatus
Auto Trait Implementations§
impl Freeze for CiStatus
impl RefUnwindSafe for CiStatus
impl Send for CiStatus
impl Sync for CiStatus
impl Unpin for CiStatus
impl UnsafeUnpin for CiStatus
impl UnwindSafe for CiStatus
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