cod_types/api/
branch.rs

1use std::fmt::Display;
2
3use serde::Deserialize;
4
5#[derive(Debug, Deserialize)]
6pub struct Branch {
7    pub name: String,
8}
9
10impl Display for Branch {
11    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
12        write!(f, "{}", self.name)
13    }
14}