[][src]Struct rusoto_mturk::QualificationType

pub struct QualificationType {
    pub answer_key: Option<String>,
    pub auto_granted: Option<bool>,
    pub auto_granted_value: Option<i64>,
    pub creation_time: Option<f64>,
    pub description: Option<String>,
    pub is_requestable: Option<bool>,
    pub keywords: Option<String>,
    pub name: Option<String>,
    pub qualification_type_id: Option<String>,
    pub qualification_type_status: Option<String>,
    pub retry_delay_in_seconds: Option<i64>,
    pub test: Option<String>,
    pub test_duration_in_seconds: Option<i64>,

The QualificationType data structure represents a Qualification type, a description of a property of a Worker that must match the requirements of a HIT for the Worker to be able to accept the HIT. The type also describes how a Worker can obtain a Qualification of that type, such as through a Qualification test.


answer_key: Option<String>

The answers to the Qualification test specified in the Test parameter.

auto_granted: Option<bool>

Specifies that requests for the Qualification type are granted immediately, without prompting the Worker with a Qualification test. Valid values are True | False.

auto_granted_value: Option<i64>

The Qualification integer value to use for automatically granted Qualifications, if AutoGranted is true. This is 1 by default.

creation_time: Option<f64>

The date and time the Qualification type was created.

description: Option<String>

A long description for the Qualification type.

is_requestable: Option<bool>

Specifies whether the Qualification type is one that a user can request through the Amazon Mechanical Turk web site, such as by taking a Qualification test. This value is False for Qualifications assigned automatically by the system. Valid values are True | False.

keywords: Option<String>

One or more words or phrases that describe theQualification type, separated by commas. The Keywords make the type easier to find using a search.

name: Option<String>

The name of the Qualification type. The type name is used to identify the type, and to find the type using a Qualification type search.

qualification_type_id: Option<String>

A unique identifier for the Qualification type. A Qualification type is given a Qualification type ID when you call the CreateQualificationType operation.

qualification_type_status: Option<String>

The status of the Qualification type. A Qualification type's status determines if users can apply to receive a Qualification of this type, and if HITs can be created with requirements based on this type. Valid values are Active | Inactive.

retry_delay_in_seconds: Option<i64>

The amount of time, in seconds, Workers must wait after taking the Qualification test before they can take it again. Workers can take a Qualification test multiple times if they were not granted the Qualification from a previous attempt, or if the test offers a gradient score and they want a better score. If not specified, retries are disabled and Workers can request a Qualification only once.

test: Option<String>

The questions for a Qualification test associated with this Qualification type that a user can take to obtain a Qualification of this type. This parameter must be specified if AnswerKey is present. A Qualification type cannot have both a specified Test parameter and an AutoGranted value of true.

test_duration_in_seconds: Option<i64>

The amount of time, in seconds, given to a Worker to complete the Qualification test, beginning from the time the Worker requests the Qualification.

Trait Implementations

impl PartialEq<QualificationType> for QualificationType[src]

impl Default for QualificationType[src]

impl Clone for QualificationType[src]

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

Performs copy-assignment from source. Read more

impl Debug for QualificationType[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

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> DeserializeOwned for T where
    T: Deserialize<'de>, 

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self