#[non_exhaustive]pub enum CiStatus {
Passing,
Failing,
Pending,
None,
}Expand description
The coarse CI/pipeline outcome for an MR (glab mr view … --output json’s
head_pipeline.status), bucketed into the four states a caller acts on.
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
The pipeline succeeded (success).
Failing
The pipeline failed or was canceled (failed/canceled).
Pending
The pipeline is still going (running/pending/created/…).
None
No pipeline ran (none attached, or skipped).
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