(&self, v: &mut V, key: &str, description: &'static str)
| 395 | |
| 396 | impl ConfigField for Dialect { |
| 397 | fn visit<V: Visit>(&self, v: &mut V, key: &str, description: &'static str) { |
| 398 | v.some(key, self, description) |
| 399 | } |
| 400 | |
| 401 | fn set(&mut self, _: &str, value: &str) -> Result<()> { |
| 402 | *self = Self::from_str(value)?; |