pub fn from_str_to_coords<'de, D>(
    deserializer: D
) -> Result<Option<Coordinates>, D::Error>where
    D: Deserializer<'de>,
Expand description

To be used when coordinates are space separated in a string and you would like to convert them to a Coordinates structure.

Errors

Fails when data cant be deserialized to String. Returns None if data is invalid