pub struct TaskRequest {
pub task_id: String,
pub intent: String,
pub payload: Value,
pub constraints: Option<TaskConstraints>,
pub auth: Option<TaskAuth>,
}Expand description
IICP task request body.
Fields§
§task_id: String§intent: String§payload: Value§constraints: Option<TaskConstraints>§auth: Option<TaskAuth>Trait Implementations§
Source§impl Clone for TaskRequest
impl Clone for TaskRequest
Source§fn clone(&self) -> TaskRequest
fn clone(&self) -> TaskRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskRequest
impl Debug for TaskRequest
Auto Trait Implementations§
impl Freeze for TaskRequest
impl RefUnwindSafe for TaskRequest
impl Send for TaskRequest
impl Sync for TaskRequest
impl Unpin for TaskRequest
impl UnsafeUnpin for TaskRequest
impl UnwindSafe for TaskRequest
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