Module Values.RouteSource

The route.

Sourcetype nonrec t = {
  1. legs : RouteLegList.t option;
    (*

    A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.

    *)
  2. majorRoadLabels : RouteMajorRoadLabelsList.t option;
    (*

    Important labels including names and route numbers that differentiate the current route from the alternatives presented.

    *)
  3. summary : RouteSummary.t option;
    (*

    Summarized details of the leg.

    *)
}
Sourceval make : ?legs:??? -> ?majorRoadLabels:??? -> ?summary:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of LanguageTag.t | `Structure of (string * [> `Enum of string | `List of [> `List of [> `Double of Double.t ] list | `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 LanguageTag.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 | `String of SensitiveString.t | `Structure of (string * [> `String of TimestampWithTimezoneOffset.t | `Structure of (string * [> `Enum of string | `Integer of RouteFerryPlaceWaypointIndexInteger.t | `List of [> `Double of Double.t ] list | `Long of DistanceMeters.t | `String of SensitiveString.t ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `Long of DistanceMeters.t | `Structure of (string * [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Double of RouteTollPriceSummaryValueDouble.t | `String of CurrencyCode.t | `Structure of (string * [> `Double of RouteTollPriceValueRangeMinDouble.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t