Values.WaypointOptimizationConnectionSourceThis contains information such as distance and duration from one waypoint to the next waypoint in the sequence.
type nonrec t = {distance : DistanceMeters.t option;Distance of the step.
*)from : WaypointId.t option;contains the ID of the starting waypoint in this connection.
*)restDuration : DurationSeconds.t option;Resting time before the driver can continue driving.
*)to_ : WaypointId.t option;Contains the ID of the ending waypoint in this connection.
*)travelDuration : DurationSeconds.t option;Total duration. Unit: seconds
*)waitDuration : DurationSeconds.t option;Duration of a wait step. Unit: seconds
*)}val to_value :
t ->
[> `Structure of
(string * [> `Long of DistanceMeters.t | `String of WaypointId.t ]) list ]