pub enum CheckStatus {
Queued,
InProgress,
Success,
Failure,
Skipped,
Cancelled,
}Expand description
Status of a CI check.
Variants§
Queued
Check is queued.
InProgress
Check is in progress.
Success
Check completed successfully.
Failure
Check failed.
Skipped
Check was skipped.
Cancelled
Check was cancelled.
Implementations§
Source§impl CheckStatus
impl CheckStatus
Sourcepub const fn is_success(&self) -> bool
pub const fn is_success(&self) -> bool
Check if this status indicates success.
Sourcepub const fn is_failure(&self) -> bool
pub const fn is_failure(&self) -> bool
Check if this status indicates failure.
Sourcepub const fn is_pending(&self) -> bool
pub const fn is_pending(&self) -> bool
Check if this status indicates the check is still running.
Trait Implementations§
Source§impl Clone for CheckStatus
impl Clone for CheckStatus
Source§fn clone(&self) -> CheckStatus
fn clone(&self) -> CheckStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CheckStatus
impl Debug for CheckStatus
Source§impl<'de> Deserialize<'de> for CheckStatus
impl<'de> Deserialize<'de> for CheckStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CheckStatus
impl PartialEq for CheckStatus
Source§impl Serialize for CheckStatus
impl Serialize for CheckStatus
impl Copy for CheckStatus
impl Eq for CheckStatus
impl StructuralPartialEq for CheckStatus
Auto Trait Implementations§
impl Freeze for CheckStatus
impl RefUnwindSafe for CheckStatus
impl Send for CheckStatus
impl Sync for CheckStatus
impl Unpin for CheckStatus
impl UnwindSafe for CheckStatus
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