[][src]Struct rusoto_mturk::HIT

pub struct HIT {
    pub assignment_duration_in_seconds: Option<i64>,
    pub auto_approval_delay_in_seconds: Option<i64>,
    pub creation_time: Option<f64>,
    pub description: Option<String>,
    pub expiration: Option<f64>,
    pub hit_group_id: Option<String>,
    pub hit_id: Option<String>,
    pub hit_layout_id: Option<String>,
    pub hit_review_status: Option<String>,
    pub hit_status: Option<String>,
    pub hit_type_id: Option<String>,
    pub keywords: Option<String>,
    pub max_assignments: Option<i64>,
    pub number_of_assignments_available: Option<i64>,
    pub number_of_assignments_completed: Option<i64>,
    pub number_of_assignments_pending: Option<i64>,
    pub qualification_requirements: Option<Vec<QualificationRequirement>>,
    pub question: Option<String>,
    pub requester_annotation: Option<String>,
    pub reward: Option<String>,
    pub title: Option<String>,
}

The HIT data structure represents a single HIT, including all the information necessary for a Worker to accept and complete the HIT.

Fields

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

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 was created.

A general description of the HIT.

The date and time the HIT expires.

The ID of the HIT Group of this HIT.

A unique identifier for the HIT.

The ID of the HIT Layout of this HIT.

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

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

The ID of the HIT type of this HIT

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 number of times the HIT can be accepted and completed before the HIT becomes unavailable.

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 are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

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.

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

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

The title of the HIT.

Trait Implementations

impl Default for HIT
[src]

Returns the "default value" for a type. Read more

impl PartialEq<HIT> for HIT
[src]

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

This method tests for !=.

impl Clone for HIT
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HIT
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for HIT
[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for HIT

impl Sync for HIT

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

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

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

recently added

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

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Same for T

Should always be Self

impl<T> Erased for T