Get a human-readable description.
(&self)
| 92 | impl CreditType { |
| 93 | /// Get a human-readable description. |
| 94 | pub fn description(&self) -> &'static str { |
| 95 | match self { |
| 96 | CreditType::Human => "Human", |
| 97 | CreditType::AiAssisted => "AI-Assisted", |
| 98 | CreditType::Collaborative => "Human+AI", |
| 99 | CreditType::AiGenerated => "AI-Generated", |
| 100 | CreditType::Unknown => "Unknown", |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | /// Get a short code for compact display. |
| 105 | pub fn short_code(&self) -> &'static str { |
no outgoing calls