(&self, f: &mut std::fmt::Formatter<'_>)
| 36 | |
| 37 | impl std::fmt::Display for Data { |
| 38 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 39 | let p = &self.person.personal; |
| 40 | write!( |
| 41 | f, |
| 42 | "Person: {} {}, {}, {}", |
| 43 | p["name"].as_str().unwrap(), |
| 44 | p["last_name"].as_str().unwrap(), |
| 45 | p["age"], |
| 46 | p["country"].as_str().unwrap(), |
| 47 | ) |
| 48 | } |
| 49 | } |
nothing calls this directly
no outgoing calls
no test coverage detected