(&self, f: &mut fmt::Formatter<'_>)
| 18 | |
| 19 | impl fmt::Display for EntryType { |
| 20 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 21 | match self { |
| 22 | EntryType::User => write!(f, "User"), |
| 23 | EntryType::Assistant => write!(f, "Assistant"), |
| 24 | EntryType::Tool => write!(f, "Tool"), |
| 25 | } |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | /// A single entry in the condensed transcript. |