Module Values.WaypointOptimizationDriverOptionsSource

Driver related options.

Sourcetype nonrec t = {
  1. restCycles : WaypointOptimizationRestCycles.t option;
    (*

    Driver work-rest schedules defined by a short and long cycle. A rest needs to be taken after the short work duration. The short cycle can be repeated until you hit the long work duration, at which point the long rest duration should be taken before restarting.

    *)
  2. restProfile : WaypointOptimizationRestProfile.t option;
    (*

    Pre defined rest profiles for a driver schedule. The only currently supported profile is EU.

    *)
  3. treatServiceTimeAs : WaypointOptimizationServiceTimeTreatment.t option;
    (*

    If the service time provided at a waypoint/destination should be considered as rest or work. This contributes to the total time breakdown returned within the response.

    *)
}
Sourceval make : ?restCycles:??? -> ?restProfile:??? -> ?treatServiceTimeAs:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of WaypointOptimizationRestProfileProfileString.t | `Structure of (string * [> `Long of DurationSeconds.t ]) list ]) 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