Struct rusoto_mturk::SendBonusRequest [] [src]

pub struct SendBonusRequest {
    pub assignment_id: String,
    pub bonus_amount: String,
    pub reason: Option<String>,
    pub unique_request_token: Option<String>,
    pub worker_id: String,
}

Fields

The ID of the assignment for which this bonus is paid.

The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.

The ID of the Worker being paid the bonus.

Trait Implementations

impl Default for SendBonusRequest
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for SendBonusRequest
[src]

[src]

Formats the value using the given formatter.

impl Clone for SendBonusRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more