Function lta_models::utils::de::from_str_loc_to_loc
source · pub fn from_str_loc_to_loc<'de, D>(
deserializer: D
) -> Result<Option<Location>, D::Error>where
D: Deserializer<'de>,
Expand description
Errors
Fails when data cant be deserialized to String. Returns None if data is invalid