(&self, f: &mut std::fmt::Formatter<'_>)
| 26 | |
| 27 | impl std::fmt::Display for ChangeFormat { |
| 28 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 29 | match self { |
| 30 | ChangeFormat::Default => write!(f, "default"), |
| 31 | ChangeFormat::Short => write!(f, "short"), |
| 32 | ChangeFormat::Json => write!(f, "json"), |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | impl std::str::FromStr for ChangeFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected