pub struct CheckRun {
pub name: String,
pub status: CheckStatus,
pub url: Option<String>,
pub conclusion: Option<String>,
}Expand description
Status of an individual CI check. TS calls this CICheck; we use
CheckRun to match GitHub’s own API naming (check_run events, etc.).
Fields§
§name: String§status: CheckStatus§url: Option<String>URL to the check run (for linking humans to logs). Optional because some CI providers don’t publish a public URL until the run completes.
conclusion: Option<String>Provider-specific conclusion string — GitHub’s check_run.conclusion:
success, failure, neutral, cancelled, skipped, timed_out,
action_required, stale. Kept as an opaque String because:
(1) different providers emit different sets and we don’t want an
enum churn every time a new value appears; (2) the status field
above is our normalized view — conclusion is the raw trailer the
ci-failed reaction can include in its message to the agent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckRun
impl<'de> Deserialize<'de> for CheckRun
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
impl Eq for CheckRun
impl StructuralPartialEq for CheckRun
Auto Trait Implementations§
impl Freeze for CheckRun
impl RefUnwindSafe for CheckRun
impl Send for CheckRun
impl Sync for CheckRun
impl Unpin for CheckRun
impl UnsafeUnpin for CheckRun
impl UnwindSafe for CheckRun
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.