term_model::config

Function from_string_or_deserialize

Source
pub fn from_string_or_deserialize<'de, T, D>(
    deserializer: D,
) -> Result<T, D::Error>
where D: Deserializer<'de>, T: Deserialize<'de> + FromString + Default,