pub fn opt_string<'de, D: Deserializer<'de>>( d: D, ) -> Result<Option<String>, D::Error>
Reads a string; numbers and booleans are converted to strings.
Only when the input itself is malformed.