pub struct TaskSpec {
pub description: String,
pub priority: TaskPriority,
pub depends_on_indices: Vec<usize>,
pub agent_config: Option<TaskAgentConfig>,
}Expand description
Specification for creating a task via the convenience API.
Fields§
§description: StringTask description.
priority: TaskPriorityTask priority.
depends_on_indices: Vec<usize>Indices into the spec list that this task depends on.
agent_config: Option<TaskAgentConfig>Per-task agent config override (falls back to default).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskSpec
impl RefUnwindSafe for TaskSpec
impl Send for TaskSpec
impl Sync for TaskSpec
impl Unpin for TaskSpec
impl UnsafeUnpin for TaskSpec
impl UnwindSafe for TaskSpec
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