pub fn encode_issues(issues: &[Issue], level: TrimLevel) -> Result<String>
Encode an array of issues into TOON with the specified detail level.