// Copyright 2025 Umberto Gotti <umberto.gotti@umbertogotti.dev>
// Licensed under the MIT License
// SPDX-License-Identifier: MIT
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",
}
}
}