#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for Hit

Implementations

A unique identifier for the HIT.

A unique identifier for the HIT.

The ID of the HIT type of this HIT

The ID of the HIT type of this HIT

The ID of the HIT Group of this HIT.

The ID of the HIT Group of this HIT.

The ID of the HIT Layout of this HIT.

The ID of the HIT Layout of this HIT.

The date and time the HIT was created.

The date and time the HIT was created.

The title of the HIT.

The title of the HIT.

A general description of the HIT.

A general description of the HIT.

The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

A string representing a currency amount.

A string representing a currency amount.

The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

The date and time the HIT expires.

The date and time the HIT expires.

The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

Appends an item to qualification_requirements.

To override the contents of this collection use set_qualification_requirements.

Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

Conditions that a Worker's Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

The number of assignments for this HIT that are available for Workers to accept.

The number of assignments for this HIT that are available for Workers to accept.

The number of assignments for this HIT that have been approved or rejected.

The number of assignments for this HIT that have been approved or rejected.

Consumes the builder and constructs a Hit

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more