Values.RouteVehicleLegDetailsSourceSteps of a leg that correspond to the travel portion of the leg.
type nonrec t = {arrival : RouteVehicleArrival.t option;Details corresponding to the arrival for the leg.
*)departure : RouteVehicleDeparture.t option;Details corresponding to the departure for the leg.
*)incidents : RouteVehicleIncidentList.t option;Incidents corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)notices : RouteVehicleNoticeList.t option;Notices are additional information returned that indicate issues that occurred during route calculation. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)passThroughWaypoints : RoutePassThroughWaypointList.t option;Waypoints that were passed through during the leg. This includes the waypoints that were configured with the PassThrough option.
*)spans : RouteVehicleSpanList.t option;Spans that were computed for the requested SpanAdditionalFeatures. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)summary : RouteVehicleSummary.t option;Summarized details of the leg.
*)tolls : RouteTollList.t option;Toll related options. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)tollSystems : RouteTollSystemList.t option;Toll systems are authorities that collect payments for the toll. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)travelSteps : RouteVehicleTravelStepList.t option;Steps of a leg that must be performed before the travel portion of the leg.
*)truckRoadTypes : TruckRoadTypeList.t option;Truck road type identifiers. BK1 through BK4 apply only to Sweden. A2,A4,B2,B4,C,D,ET2,ET4 apply only to Mexico. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. There are currently no other supported values as of 26th April 2024.
*)zones : RouteZoneList.t option;Zones corresponding to this leg of the route. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `String of TruckRoadType.t
| `Structure of
(string
* [> `Enum of string
| `Integer of
RoutePassThroughWaypointGeometryOffsetInteger.t
| `List of
[> `Enum of string
| `Integer of Integer.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Double of Double.t
| `Enum of string
| `Structure of
(string * [> `String of SensitiveString.t ])
list ]
list
| `String of SensitiveString.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Double of RouteTollPriceValueDouble.t
| `Enum of string
| `Integer of
RouteTollPassTransferCountInteger.t
| `List of [> `Enum of string ] list
| `Long of DimensionCentimeters.t
| `String of String_.t
| `Structure of
(string
* [> `Double of
RouteTollPriceValueRangeMinDouble.t
| `Enum of string
| `Integer of
RouteNoticeDetailRangeMinInteger.t
| `Long of WeightKilograms.t ])
list ])
list ])
list ]
list
| `Long of DurationSeconds.t
| `String of SensitiveString.t
| `Structure of
(string
* [> `Boolean of SensitiveBoolean.t
| `Double of SpeedKilometersPerHour.t
| `Enum of string
| `Integer of
RoutePassThroughPlaceWaypointIndexInteger.t
| `List of
[> `Double of Double.t
| `Structure of
(string
* [> `Enum of string
| `String of LanguageTag.t
| `Structure of
(string
* [> `Enum of string
| `String of LanguageTag.t ])
list ])
list ]
list
| `Long of DurationSeconds.t ])
list ])
list ]
list
| `Structure of
(string
* [> `String of TimestampWithTimezoneOffset.t
| `Structure of
(string
* [> `Enum of string
| `Integer of RouteVehiclePlaceWaypointIndexInteger.t
| `List of [> `Double of Double.t ] list
| `Long of DurationSeconds.t
| `String of SensitiveString.t ])
list ])
list ])
list ]