pub struct BackgroundTask {
pub task_id: String,
pub is_backgrounded: bool,
pub task_type: String,
pub description: String,
pub command: Option<String>,
pub tool_use_id: Option<String>,
}Expand description
One of the seat’s live tasks, with the command its own card carried where forge has seen both.
Fields§
§task_id: String§is_backgrounded: boolWhether the CLI put the call in the background, as the frame that
announced it said. A registry entry is backgrounded by definition; a
long foreground call the CLI tracks rides here with false while it
runs, which is how a consumer tells the two kinds of hold apart.
task_type: StringThe kind a view routes the row on: local_bash is the processes feed
(a backgrounded call, or a foreground one the CLI tracks while it
runs), an agent kind the sub-agent section.
description: StringThe line the row leads with, as the CLI wrote it.
command: Option<String>The command the task’s own tool call carried, which is what an OS scan
adopts a detached process by. None when forge has not seen the card:
the task still draws, without one.
tool_use_id: Option<String>The tool call that began the task, from the CLI’s task_started link.
None until forge has seen it: the row draws without a call to reach.
Trait Implementations§
Source§impl Clone for BackgroundTask
impl Clone for BackgroundTask
Source§impl Debug for BackgroundTask
impl Debug for BackgroundTask
Source§impl<'de> Deserialize<'de> for BackgroundTask
impl<'de> Deserialize<'de> for BackgroundTask
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>,
impl Eq for BackgroundTask
Source§impl PartialEq for BackgroundTask
impl PartialEq for BackgroundTask
Source§impl Serialize for BackgroundTask
impl Serialize for BackgroundTask
impl StructuralPartialEq for BackgroundTask
Auto Trait Implementations§
impl Freeze for BackgroundTask
impl RefUnwindSafe for BackgroundTask
impl Send for BackgroundTask
impl Sync for BackgroundTask
impl Unpin for BackgroundTask
impl UnsafeUnpin for BackgroundTask
impl UnwindSafe for BackgroundTask
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.