pub struct Task {Show 43 fields
pub id: String,
pub title: String,
pub objective: String,
pub comment: Option<String>,
pub scope: Option<String>,
pub acceptance_criteria: Option<Vec<String>>,
pub verification_commands: Option<Vec<String>>,
pub test_cases: Option<Vec<String>>,
pub assigned_to: Option<String>,
pub status: TaskStatus,
pub board_id: Option<String>,
pub column_id: Option<String>,
pub position: i64,
pub priority: Option<TaskPriority>,
pub labels: Vec<String>,
pub assignee: Option<String>,
pub assigned_provider: Option<String>,
pub assigned_role: Option<String>,
pub assigned_specialist_id: Option<String>,
pub assigned_specialist_name: Option<String>,
pub trigger_session_id: Option<String>,
pub github_id: Option<String>,
pub github_number: Option<i64>,
pub github_url: Option<String>,
pub github_repo: Option<String>,
pub github_state: Option<String>,
pub github_synced_at: Option<DateTime<Utc>>,
pub last_sync_error: Option<String>,
pub dependencies: Vec<String>,
pub parallel_group: Option<String>,
pub workspace_id: String,
pub session_id: Option<String>,
pub creation_source: Option<TaskCreationSource>,
pub codebase_ids: Vec<String>,
pub worktree_id: Option<String>,
pub session_ids: Vec<String>,
pub lane_sessions: Vec<TaskLaneSession>,
pub lane_handoffs: Vec<TaskLaneHandoff>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub completion_summary: Option<String>,
pub verification_verdict: Option<VerificationVerdict>,
pub verification_report: Option<String>,
}Fields§
§id: String§title: String§objective: String§comment: Option<String>§scope: Option<String>§acceptance_criteria: Option<Vec<String>>§verification_commands: Option<Vec<String>>§test_cases: Option<Vec<String>>§assigned_to: Option<String>§status: TaskStatus§board_id: Option<String>§column_id: Option<String>§position: i64§priority: Option<TaskPriority>§labels: Vec<String>§assignee: Option<String>§assigned_provider: Option<String>§assigned_role: Option<String>§assigned_specialist_id: Option<String>§assigned_specialist_name: Option<String>§trigger_session_id: Option<String>§github_id: Option<String>§github_number: Option<i64>§github_url: Option<String>§github_repo: Option<String>§github_state: Option<String>§github_synced_at: Option<DateTime<Utc>>§last_sync_error: Option<String>§dependencies: Vec<String>§parallel_group: Option<String>§workspace_id: String§session_id: Option<String>Session ID that created this task (for session-scoped filtering)
creation_source: Option<TaskCreationSource>§codebase_ids: Vec<String>Codebase IDs linked to this task
worktree_id: Option<String>Worktree ID assigned to this task
session_ids: Vec<String>All session IDs that have been associated with this task (history)
lane_sessions: Vec<TaskLaneSession>Durable per-lane session history for Kanban workflow handoff
lane_handoffs: Vec<TaskLaneHandoff>Adjacent-lane handoff requests and responses
created_at: DateTime<Utc>§updated_at: DateTime<Utc>§completion_summary: Option<String>§verification_verdict: Option<VerificationVerdict>§verification_report: Option<String>Implementations§
Source§impl Task
impl Task
pub fn new( id: String, title: String, objective: String, workspace_id: String, session_id: Option<String>, scope: Option<String>, acceptance_criteria: Option<Vec<String>>, verification_commands: Option<Vec<String>>, test_cases: Option<Vec<String>>, dependencies: Option<Vec<String>>, parallel_group: Option<String>, ) -> Task
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Task, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Task, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Task
impl Serialize for Task
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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,
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