(self)
| 34 | } |
| 35 | |
| 36 | pub fn id(self) -> &'static str { |
| 37 | match self { |
| 38 | Self::AntiSlop => "pass:anti_slop", |
| 39 | Self::IntentConformance => "pass:intent_conformance", |
| 40 | Self::BlastRadiusRisk => "pass:blast_radius_risk", |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] |