(self)
| 17 | |
| 18 | impl HintAgent { |
| 19 | pub(crate) fn as_key(self) -> &'static str { |
| 20 | match self { |
| 21 | HintAgent::Claude => "claude", |
| 22 | HintAgent::Cursor => "cursor", |
| 23 | HintAgent::Codex => "codex", |
| 24 | HintAgent::Kiro => "kiro", |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)] |