logo
pub struct QualificationType {
Show 13 fields 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>,
}
Expand description

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.

Fields

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

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

Deserialize this value from the given Serde deserializer. 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.

Should always be Self

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