[][src]Module google_maps::directions::response

Resources (enums, structs) for processing the Directions API response from the Google Maps Platform. Look in here for more information about the data returned from Google's server and how to parse it with your program.

Modules

directions_distance
directions_duration
driving_maneuver

Contains the DrivingManeuver enum and its associated traits. It is often used to determine which icon to display for the current step.

geocoded_waypoint
geocoder_status

Contains the GeocoderStatus enum and its associated traits. It indicates the status resulting from geocoding operations.

leg
overview_polyline

An encoded polyline representation of the route.

polyline

An encoded polyline representation of the route.

route
status

Contains the Status enum and its associated traits. It may contain debugging information to help you track down why the service request failed.

step
transit_agency
transit_currency

Contains the TransitCurrency enum and its associated traits. It is used to specify a currency. Included for use with the transit fares returned by Google Maps Directions API.

transit_details
transit_fare
transit_line
transit_stop
transit_time
transit_vehicle

Structs

Response

Directions responses contain the following root elements.