[−][src]Function osproto::common::empty_as_default
pub fn empty_as_default<'de, D, T>(des: D) -> Result<T, D::Error> where
D: Deserializer<'de>,
T: DeserializeOwned + Default,
Deserialize a value where empty string is replaced by Default
value.