pub struct TaskTreeInput {
pub ref_id: Option<String>,
pub id: Option<String>,
pub title: String,
pub description: Option<String>,
pub phase: Option<String>,
pub priority: Option<Priority>,
pub points: Option<i32>,
pub time_estimate_ms: Option<i64>,
pub needed_tags: Option<Vec<String>>,
pub wanted_tags: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub children: Vec<TaskTreeInput>,
}Expand description
Input for creating a task tree. Supports all fields from task creation, plus tree-specific fields.
Fields§
§ref_id: Option<String>Reference to an existing task ID to include in the tree. If set, this node references an existing task rather than creating a new one. Other fields are ignored when ref is set.
id: Option<String>Custom task ID (optional, petname ID generated if not provided). Ignored if ref is set.
title: StringTask title (required for new tasks, optional if ref is set).
description: Option<String>Task description.
phase: Option<String>Task phase (type of work: explore, design, implement, etc.).
priority: Option<Priority>Task priority.
points: Option<i32>Story points / complexity estimate.
time_estimate_ms: Option<i64>Estimated duration in milliseconds.
Tags that claiming agent must have ALL of (AND logic).
Tags that claiming agent must have AT LEAST ONE of (OR logic).
Categorization/discovery tags for the task.
children: Vec<TaskTreeInput>Child nodes in the tree.
Trait Implementations§
Source§impl Clone for TaskTreeInput
impl Clone for TaskTreeInput
Source§fn clone(&self) -> TaskTreeInput
fn clone(&self) -> TaskTreeInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TaskTreeInput
impl Debug for TaskTreeInput
Source§impl<'de> Deserialize<'de> for TaskTreeInput
impl<'de> Deserialize<'de> for TaskTreeInput
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>,
Auto Trait Implementations§
impl Freeze for TaskTreeInput
impl RefUnwindSafe for TaskTreeInput
impl Send for TaskTreeInput
impl Sync for TaskTreeInput
impl Unpin for TaskTreeInput
impl UnwindSafe for TaskTreeInput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more