(&self)
| 821 | } |
| 822 | |
| 823 | pub fn value(&self) -> Option<String> { |
| 824 | let mut result = String::new(); |
| 825 | self.write_value(&mut result).unwrap().then_some(result) |
| 826 | } |
| 827 | |
| 828 | pub fn write_value<W: fmt::Write>(&self, mut writer: W) -> Result<bool, fmt::Error> { |
| 829 | if let Some(value) = &self.data().value() { |
no test coverage detected