use serde::Serialize;
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]
pub enum Verdict {
Clean,
Warn,
Crappy,
}
impl Verdict {
pub fn as_str(self) -> &'static str {
match self {
Self::Clean => "clean",
Self::Warn => "warn",
Self::Crappy => "crappy",
}
}
}