pub enum Verdict {
Green,
Red,
GrayRed,
Unproven,
NotRun {
missing_platforms: Vec<String>,
},
Stale {
kind: StaleKind,
reason: String,
},
SilentlyUnbound,
Exempt,
Memo,
NotApplicable,
}Variants§
Implementations§
Source§impl Verdict
impl Verdict
Sourcepub fn label(&self) -> &'static str
pub fn label(&self) -> &'static str
The flat, human-facing label — facts, not verdicts (no score, no rank).
Sourcepub fn event_label(&self) -> String
pub fn event_label(&self) -> String
The label written to the events log — identical to label() except a stale carries its
sub-kind (stale:sha / stale:count-window / stale:age), so the staleness-mask stays
auditable from the log. Display stays the flat stale; only the埋点 splits it.
Trait Implementations§
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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