Module Values.RouteTravelModeOptionsSource

Travel mode related options for the provided travel mode.

Sourcetype nonrec t = {
  1. car : RouteCarOptions.t option;
    (*

    Travel mode options when the provided travel mode is Car.

    *)
  2. pedestrian : RoutePedestrianOptions.t option;
    (*

    Travel mode options when the provided travel mode is Pedestrian.

    *)
  3. scooter : RouteScooterOptions.t option;
    (*

    Travel mode options when the provided travel mode is Scooter. When travel mode is set to Scooter, then the avoidance option ControlledAccessHighways defaults to true.

    *)
  4. truck : RouteTruckOptions.t option;
    (*

    Travel mode options when the provided travel mode is Truck.

    *)
}
Sourceval make : ?car:??? -> ?pedestrian:??? -> ?scooter:??? -> ?truck:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Double of RouteCarOptionsMaxSpeedDouble.t | `Enum of string | `Integer of RouteCarOptionsOccupancyInteger.t | `List of [> `Enum of string ] list | `Long of WeightKilograms.t | `String of RouteTruckOptionsTunnelRestrictionCodeString.t | `Structure of (string * [> `Integer of RouteTrailerOptionsAxleCountInteger.t | `Long of WeightKilograms.t | `String of RouteVehicleLicensePlateLastCharacterString.t ]) 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