pub struct Task {
pub id: Uuid,
pub prompt: String,
pub cwd: String,
pub state: TaskState,
pub parent_task_id: Option<Uuid>,
pub requirement_id: Option<String>,
pub epic_id: Option<String>,
pub conv_id: Option<String>,
}Expand description
A unit of dispatchable work.
Fields§
§id: UuidStable identity.
prompt: StringThe instruction handed to an engine.
cwd: StringWorking directory the engine should run in.
state: TaskStateCurrent lifecycle state.
parent_task_id: Option<Uuid>Parent task, if this is a delegated subtask.
requirement_id: Option<String>Traceability link to a requirement (FR/NFR id).
epic_id: Option<String>Traceability link to an epic.
conv_id: Option<String>Engine conversation id, set after [EnginePort::start].
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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
impl Eq for Task
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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