[][src]Module lta::utils::de

Functions

dash_separated
from_int_to_highway
from_int_to_mrt_status
from_str
from_str_loc_to_loc
from_str_shelter_indicator_to_bool
from_str_to_bus_freq

Converts from eg. 12-15 to BusFreq::new(12,15) There are special cases like - and 10. In those cases, it will be BusFreq::default() and BusFreq::new(10,10)

from_str_to_coords

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

from_str_to_date
from_str_to_datetime
from_str_to_time
slash_separated