pub struct HumanTaskClaimRequest {
pub token_id: Option<Option<Uuid>>,
}Expand description
HumanTaskClaimRequest : Which park a claim or release is about (#1123). Optional in full: an element that holds exactly one parked token needs no body at all.
Fields§
§token_id: Option<Option<Uuid>>The parked token, from PendingUserTask.token_id. Required only when the element holds more than one park – there is no honest default for a multi-instance task, so ambiguity is an error rather than a guess.
Implementations§
Source§impl HumanTaskClaimRequest
impl HumanTaskClaimRequest
Sourcepub fn new() -> HumanTaskClaimRequest
pub fn new() -> HumanTaskClaimRequest
Which park a claim or release is about (#1123). Optional in full: an element that holds exactly one parked token needs no body at all.
Trait Implementations§
Source§impl Clone for HumanTaskClaimRequest
impl Clone for HumanTaskClaimRequest
Source§impl Debug for HumanTaskClaimRequest
impl Debug for HumanTaskClaimRequest
Source§impl Default for HumanTaskClaimRequest
impl Default for HumanTaskClaimRequest
Source§impl<'de> Deserialize<'de> for HumanTaskClaimRequest
impl<'de> Deserialize<'de> for HumanTaskClaimRequest
Source§fn 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
Source§impl PartialEq for HumanTaskClaimRequest
impl PartialEq for HumanTaskClaimRequest
Source§impl Serialize for HumanTaskClaimRequest
impl Serialize for HumanTaskClaimRequest
impl StructuralPartialEq for HumanTaskClaimRequest
Auto Trait Implementations§
impl Freeze for HumanTaskClaimRequest
impl RefUnwindSafe for HumanTaskClaimRequest
impl Send for HumanTaskClaimRequest
impl Sync for HumanTaskClaimRequest
impl Unpin for HumanTaskClaimRequest
impl UnsafeUnpin for HumanTaskClaimRequest
impl UnwindSafe for HumanTaskClaimRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more