pub struct CreateTaskRequest<T: Serialize> {
pub act_id: String,
pub name: Option<String>,
pub options: Option<TaskOptions>,
pub input: Option<T>,
pub title: Option<String>,
}Expand description
Body of the POST /actor-tasks request.
Fields§
§act_id: StringFull Actor ID or username~actor-name.
name: Option<String>§options: Option<TaskOptions>§input: Option<T>Typed input that matches the Actor’s JSON schema.
title: Option<String>Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for CreateTaskRequest<T>
impl<T> RefUnwindSafe for CreateTaskRequest<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for CreateTaskRequest<T>
impl<T> Sync for CreateTaskRequest<T>
impl<T> Unpin for CreateTaskRequest<T>
impl<T> UnsafeUnpin for CreateTaskRequest<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for CreateTaskRequest<T>where
Option<T>: UnwindSafe,
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