[][src]Struct rusoto_mturk::Assignment

pub struct Assignment {
    pub accept_time: Option<f64>,
    pub answer: Option<String>,
    pub approval_time: Option<f64>,
    pub assignment_id: Option<String>,
    pub assignment_status: Option<String>,
    pub auto_approval_time: Option<f64>,
    pub deadline: Option<f64>,
    pub hit_id: Option<String>,
    pub rejection_time: Option<f64>,
    pub requester_feedback: Option<String>,
    pub submit_time: Option<f64>,
    pub worker_id: Option<String>,
}

The Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.

Fields

accept_time: Option<f64>

The date and time the Worker accepted the assignment.

answer: Option<String>

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

approval_time: Option<f64>

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

assignment_id: Option<String>

A unique identifier for the assignment.

assignment_status: Option<String>

The status of the assignment.

auto_approval_time: Option<f64>

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

deadline: Option<f64>

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

hit_id: Option<String>

The ID of the HIT.

rejection_time: Option<f64>

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

requester_feedback: Option<String>

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

submit_time: Option<f64>

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

worker_id: Option<String>

The ID of the Worker who accepted the HIT.

Trait Implementations

impl PartialEq<Assignment> for Assignment[src]

impl Default for Assignment[src]

impl Clone for Assignment[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Assignment[src]

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

Auto Trait Implementations

impl Send for Assignment

impl Sync for Assignment

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self