Module Values.TruckDimensionsSource

Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can't support or allow the specified dimensions for requests that specify TravelMode as Truck.

Sourcetype nonrec t = {
  1. length : TruckDimensionsLengthDouble.t option;
    (*

    The length of the truck. For example, 15.5. For routes calculated with a HERE resource, this value must be between 0 and 300 meters.

    *)
  2. height : TruckDimensionsHeightDouble.t option;
    (*

    The height of the truck. For example, 4.5. For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

    *)
  3. width : TruckDimensionsWidthDouble.t option;
    (*

    The width of the truck. For example, 4.5. For routes calculated with a HERE resource, this value must be between 0 and 50 meters.

    *)
  4. unit : DimensionUnit.t option;
    (*

    Specifies the unit of measurement for the truck dimensions. Default Value: Meters

    *)
}
Sourceval make : ?length:??? -> ?height:??? -> ?width:??? -> ?unit:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of TruckDimensionsLengthDouble.t | `Enum of string ]) 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