Module Values.WaypointOptimizationConnectionSource

This contains information such as distance and duration from one waypoint to the next waypoint in the sequence.

Sourcetype nonrec t = {
  1. distance : DistanceMeters.t option;
    (*

    Distance of the step.

    *)
  2. from : WaypointId.t option;
    (*

    contains the ID of the starting waypoint in this connection.

    *)
  3. restDuration : DurationSeconds.t option;
    (*

    Resting time before the driver can continue driving.

    *)
  4. to_ : WaypointId.t option;
    (*

    Contains the ID of the ending waypoint in this connection.

    *)
  5. travelDuration : DurationSeconds.t option;
    (*

    Total duration. Unit: seconds

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

    Duration of a wait step. Unit: seconds

    *)
}
Sourceval make : ?distance:??? -> ?from:??? -> ?restDuration:??? -> ?to_:??? -> ?travelDuration:??? -> ?waitDuration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of DistanceMeters.t | `String of WaypointId.t ]) 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