Struct rusoto_mturk::QualificationType
source · [−]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
sourceimpl Clone for QualificationType
impl Clone for QualificationType
sourcefn clone(&self) -> QualificationType
fn clone(&self) -> QualificationType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for QualificationType
impl Debug for QualificationType
sourceimpl Default for QualificationType
impl Default for QualificationType
sourcefn default() -> QualificationType
fn default() -> QualificationType
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for QualificationType
impl<'de> Deserialize<'de> for QualificationType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<QualificationType> for QualificationType
impl PartialEq<QualificationType> for QualificationType
sourcefn eq(&self, other: &QualificationType) -> bool
fn eq(&self, other: &QualificationType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &QualificationType) -> bool
fn ne(&self, other: &QualificationType) -> bool
This method tests for !=
.
impl StructuralPartialEq for QualificationType
Auto Trait Implementations
impl RefUnwindSafe for QualificationType
impl Send for QualificationType
impl Sync for QualificationType
impl Unpin for QualificationType
impl UnwindSafe for QualificationType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more