[][src]Struct rusoto_mturk::SendBonusRequest

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

Fields

assignment_id: String

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

bonus_amount: String

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.

reason: String

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

unique_request_token: Option<String>

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.

worker_id: String

The ID of the Worker being paid the bonus.

Trait Implementations

impl PartialEq<SendBonusRequest> for SendBonusRequest[src]

impl Default for SendBonusRequest[src]

impl Clone for SendBonusRequest[src]

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

Performs copy-assignment from source. Read more

impl Debug for SendBonusRequest[src]

impl Serialize for SendBonusRequest[src]

Auto Trait Implementations

impl Send for SendBonusRequest

impl Sync for SendBonusRequest

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> Erased for T

impl<T> Same for T

type Output = T

Should always be Self