Get a short code for compact display.
(&self)
| 103 | |
| 104 | /// Get a short code for compact display. |
| 105 | pub fn short_code(&self) -> &'static str { |
| 106 | match self { |
| 107 | CreditType::Human => "H", |
| 108 | CreditType::AiAssisted => "A", |
| 109 | CreditType::Collaborative => "C", |
| 110 | CreditType::AiGenerated => "G", |
| 111 | CreditType::Unknown => "?", |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | /// Check if this credit type involves AI. |
| 116 | #[inline] |