#[non_exhaustive]
pub struct QualificationType {
Show 13 fields pub qualification_type_id: Option<String>, pub creation_time: Option<DateTime>, pub name: Option<String>, pub description: Option<String>, pub keywords: Option<String>, pub qualification_type_status: Option<QualificationTypeStatus>, pub test: Option<String>, pub test_duration_in_seconds: Option<i64>, pub answer_key: Option<String>, pub retry_delay_in_seconds: Option<i64>, pub is_requestable: Option<bool>, pub auto_granted: Option<bool>, pub auto_granted_value: Option<i32>,
}
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 (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
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.

creation_time: Option<DateTime>

The date and time the Qualification type was created.

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.

description: Option<String>

A long description for the Qualification type.

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.

qualification_type_status: Option<QualificationTypeStatus>

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.

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.

answer_key: Option<String>

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

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.

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.

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<i32>

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

Implementations

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

The date and time the Qualification type was created.

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.

A long description for the Qualification type.

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

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.

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.

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

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

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.

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.

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

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

Creates a new builder-style object to manufacture QualificationType

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

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