Module Values.RouteDestinationOptionsSource

Options related to the destination.

Sourcetype nonrec t = {
  1. avoidActionsForDistance : RouteDestinationOptionsAvoidActionsForDistanceLong.t option;
    (*

    The distance in meters from the destination point within which certain routing actions (such as U-turns or left turns across traffic) are restricted. This helps generate more practical routes by avoiding potentially dangerous maneuvers near the endpoint.

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

    Avoid U-turns for calculation on highways and motorways.

    *)
  3. heading : Heading.t option;
    (*

    GPS Heading at the position.

    *)
  4. matching : RouteMatchingOptions.t option;
    (*

    Options to configure matching the provided position to the road network.

    *)
  5. sideOfStreet : RouteSideOfStreetOptions.t option;
    (*

    Options to configure matching the provided position to a side of the street.

    *)
  6. stopDuration : DurationSeconds.t option;
    (*

    Duration of the stop. Unit: seconds

    *)
}
Sourceval make : ?avoidActionsForDistance:??? -> ?avoidUTurns:??? -> ?heading:??? -> ?matching:??? -> ?sideOfStreet:??? -> ?stopDuration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SensitiveBoolean.t | `Double of Heading.t | `Long of RouteDestinationOptionsAvoidActionsForDistanceLong.t | `Structure of (string * [> `Enum of string | `List of [> `Double of Double.t ] list | `Long of DistanceMeters.t | `String of RouteMatchingOptionsNameHintString.t ]) 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