Module Values.WaypointOptimizationTimeBreakdownSource

Time breakdown for the sequence.

Sourcetype nonrec t = {
  1. restDuration : DurationSeconds.t option;
    (*

    Resting phase of the cycle. Unit: seconds

    *)
  2. serviceDuration : DurationSeconds.t option;
    (*

    Service time spent at the destination. At an appointment, the service time should be the appointment duration. Unit: seconds

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

    Traveling phase of the cycle. Unit: seconds

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

    Waiting phase of the cycle. Unit: seconds

    *)
}
Sourceval make : ?restDuration:DurationSeconds.t -> ?serviceDuration:DurationSeconds.t -> ?travelDuration:DurationSeconds.t -> ?waitDuration:DurationSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of DurationSeconds.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