[][src]Struct rusoto_mturk::CreateHITTypeRequest

pub struct CreateHITTypeRequest {
    pub assignment_duration_in_seconds: i64,
    pub auto_approval_delay_in_seconds: Option<i64>,
    pub description: String,
    pub keywords: Option<String>,
    pub qualification_requirements: Option<Vec<QualificationRequirement>>,
    pub reward: String,
    pub title: String,


assignment_duration_in_seconds: i64

The amount of time, in seconds, that a Worker has to complete the HIT after accepting it. If a Worker does not complete the assignment within the specified duration, the assignment is considered abandoned. If the HIT is still active (that is, its lifetime has not elapsed), the assignment becomes available for other users to find and accept.

auto_approval_delay_in_seconds: Option<i64>

The number of seconds after an assignment for the HIT has been submitted, after which the assignment is considered Approved automatically unless the Requester explicitly rejects it.

description: String

A general description of the HIT. A description includes detailed information about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT description appears in the expanded view of search results, and in the HIT and assignment screens. A good description gives the user enough information to evaluate the HIT before accepting it.

keywords: Option<String>

One or more words or phrases that describe the HIT, separated by commas. These words are used in searches to find HITs.

qualification_requirements: Option<Vec<QualificationRequirement>>

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.

reward: String

The amount of money the Requester will pay a Worker for successfully completing the HIT.

title: String

The title of the HIT. A title should be short and descriptive about the kind of task the HIT contains. On the Amazon Mechanical Turk web site, the HIT title appears in search results, and everywhere the HIT is mentioned.

Trait Implementations

impl Default for CreateHITTypeRequest[src]

impl PartialEq<CreateHITTypeRequest> for CreateHITTypeRequest[src]

impl Clone for CreateHITTypeRequest[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for CreateHITTypeRequest[src]

impl Serialize for CreateHITTypeRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self