pub struct AgentTaskRecord {Show 15 fields
pub schema_version: u32,
pub task_id: String,
pub title: String,
pub body: String,
pub status: AgentTaskStatus,
pub target_thread: String,
pub base_state: Option<String>,
pub base_root: Option<String>,
pub parent_task_id: Option<String>,
pub coordination_discussion_id: Option<String>,
pub allow_offline: bool,
pub delegated_by: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
Local agent task assignment record.
Fields§
§schema_version: u32Version of this TOML schema.
task_id: StringOpaque stable task identifier.
title: StringHuman-readable task title.
body: StringDetailed task body.
status: AgentTaskStatusCurrent task lifecycle status.
target_thread: StringThread this task is delegated to.
base_state: Option<String>Optional base state the task was delegated from.
base_root: Option<String>Optional base root the task was delegated from.
parent_task_id: Option<String>Optional parent task.
coordination_discussion_id: Option<String>Optional coordination discussion id.
allow_offline: boolWhether this task may continue without hosted connectivity.
delegated_by: Option<String>Principal or agent that delegated the task.
created_at: DateTime<Utc>Creation time.
updated_at: DateTime<Utc>Last update time.
completed_at: Option<DateTime<Utc>>Completion time for terminal statuses.
Implementations§
Trait Implementations§
Source§impl Clone for AgentTaskRecord
impl Clone for AgentTaskRecord
Source§fn clone(&self) -> AgentTaskRecord
fn clone(&self) -> AgentTaskRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentTaskRecord
impl Debug for AgentTaskRecord
Source§impl<'de> Deserialize<'de> for AgentTaskRecord
impl<'de> Deserialize<'de> for AgentTaskRecord
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 AgentTaskRecord
impl RefUnwindSafe for AgentTaskRecord
impl Send for AgentTaskRecord
impl Sync for AgentTaskRecord
impl Unpin for AgentTaskRecord
impl UnsafeUnpin for AgentTaskRecord
impl UnwindSafe for AgentTaskRecord
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