Module Values.WorkerBlockSource

The WorkerBlock data structure represents a Worker who has been blocked. It has two elements: the WorkerId and the Reason for the block.

Sourcetype nonrec t = {
  1. workerId : CustomerId.t option;
    (*

    The ID of the Worker who accepted the HIT.

    *)
  2. reason : String_.t option;
    (*

    A message explaining the reason the Worker was blocked.

    *)
}
Sourceval make : ?workerId:??? -> ?reason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CustomerId.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