pub struct Task {Show 14 fields
pub id: TaskId,
pub subject: String,
pub description: String,
pub status: TaskStatus,
pub priority: TaskPriority,
pub labels: Vec<String>,
pub blocks: Vec<TaskId>,
pub created_at: String,
pub updated_at: String,
pub created_by_session: Option<String>,
pub updated_by_session: Option<String>,
pub owner: Option<String>,
pub metadata: HashMap<String, Value>,
pub blocked_by: Vec<TaskId>,
}Expand description
A task in the task management system
Fields§
§id: TaskIdUnique identifier for this task
subject: StringShort subject/title of the task
description: StringDetailed description of the task
status: TaskStatusCurrent status of the task
priority: TaskPriorityPriority level of the task
labels: Vec<String>Labels/tags for categorization
blocks: Vec<TaskId>IDs of tasks that this task blocks
created_at: StringISO 8601 timestamp when the task was created
updated_at: StringISO 8601 timestamp when the task was last updated
created_by_session: Option<String>Session ID that created this task
updated_by_session: Option<String>Session ID that last updated this task
owner: Option<String>Owner/assignee of this task (agent name or user identifier)
metadata: HashMap<String, Value>Arbitrary key-value metadata for extensibility
blocked_by: Vec<TaskId>IDs of tasks that block THIS task (inverse of blocks)
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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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>
Converts
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>
Converts
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