pub struct Task {
pub id: Option<String>,
pub subject: Option<String>,
pub description: Option<String>,
pub active_form: Option<String>,
pub status: Option<String>,
pub blocks: Option<Vec<String>>,
pub blocked_by: Option<Vec<String>>,
pub file_path: PathBuf,
pub rest: Map<String, Value>,
}Expand description
One task item parsed from <n>.json.
Fields§
§id: Option<String>Task id, when present. Usually matches the file stem.
subject: Option<String>Short imperative subject, when present.
description: Option<String>Full description, when present.
active_form: Option<String>Present-continuous display form, when present.
status: Option<String>Status (pending, in_progress, completed, or anything
future), carried as a plain string.
blocks: Option<Vec<String>>Ids of tasks this one blocks, when present and well-formed.
blocked_by: Option<Vec<String>>Ids of tasks blocking this one, when present and well-formed.
file_path: PathBufAbsolute path to the source .json.
rest: Map<String, Value>Any additional fields, keyed as Claude Code wrote them. A typed field with an unexpected JSON type also lands here.
Trait Implementations§
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