Function lta_models::utils::de::treat_error_as_none
source · pub fn treat_error_as_none<'de, T, D>(
deserializer: D
) -> Result<Option<T>, D::Error>where
T: Deserialize<'de>,
D: Deserializer<'de>,
Expand description
Errors
Fails when data cant be deserialized to String