(&self, key: &str)
| 203 | } |
| 204 | |
| 205 | fn string(&self, key: &str) -> Option<String> { |
| 206 | self |
| 207 | .data |
| 208 | .get(key) |
| 209 | .and_then(|value| value.as_str()) |
| 210 | .map(|value| value.to_string()) |
| 211 | } |
| 212 | |
| 213 | fn bool(&self, key: &str) -> Option<bool> { |
| 214 | self.data.get(key).and_then(|value| match value { |
no test coverage detected