Module Values.CalculateRouteTruckModeOptionsSource

Contains details about additional route preferences for requests that specify TravelMode as Truck.

Sourcetype nonrec t = {
  1. avoidFerries : SensitiveBoolean.t option;
    (*

    Avoids ferries when calculating routes. Default Value: false Valid Values: false | true

    *)
  2. avoidTolls : SensitiveBoolean.t option;
    (*

    Avoids tolls when calculating routes. Default Value: false Valid Values: false | true

    *)
  3. dimensions : TruckDimensions.t option;
    (*

    Specifies the truck's dimension specifications including length, height, width, and unit of measurement. Used to avoid roads that can't support the truck's dimensions.

    *)
  4. weight : TruckWeight.t option;
    (*

    Specifies the truck's weight specifications including total weight and unit of measurement. Used to avoid roads that can't support the truck's weight.

    *)
}
Sourceval make : ?avoidFerries:??? -> ?avoidTolls:??? -> ?dimensions:??? -> ?weight:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Structure of (string * [> `Double of TruckDimensionsLengthDouble.t | `Enum of string ]) 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