[−][src]Struct rusoto_mturk::SendBonusRequest
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 Clone for SendBonusRequest
[src]
pub fn clone(&self) -> SendBonusRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SendBonusRequest
[src]
impl Default for SendBonusRequest
[src]
pub fn default() -> SendBonusRequest
[src]
impl PartialEq<SendBonusRequest> for SendBonusRequest
[src]
pub fn eq(&self, other: &SendBonusRequest) -> bool
[src]
pub fn ne(&self, other: &SendBonusRequest) -> bool
[src]
impl Serialize for SendBonusRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SendBonusRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SendBonusRequest
[src]
impl Send for SendBonusRequest
[src]
impl Sync for SendBonusRequest
[src]
impl Unpin for SendBonusRequest
[src]
impl UnwindSafe for SendBonusRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,