(&self, f: &mut std::fmt::Formatter<'_>)
| 17 | |
| 18 | impl std::fmt::Display for TimerangePrefixFormat { |
| 19 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> { |
| 20 | let string = match self { |
| 21 | Self::None => "NONE", |
| 22 | Self::StartYear => "START_YEAR", |
| 23 | Self::StartYearMonth => "START_YEAR_MONTH", |
| 24 | }; |
| 25 | write!(f, "{string}") |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | impl From<&types::TimerangePrefixFormat> for TimerangePrefixFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected