Function serde::__private::de::missing_field

source ·
pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E>
where V: Deserialize<'de>, E: Error,
Expand description

If the missing field is of type Option<T> then treat is as None, otherwise it is an error.