pub struct BackgroundTask {
pub task_id: String,
pub run_id: Option<String>,
pub task_type: String,
pub subagent_type: Option<String>,
pub description: String,
pub parent_task_id: Option<String>,
pub ambient: Option<bool>,
pub awaited: Option<bool>,
pub off_host: Option<bool>,
}Expand description
One entry of a background_tasks_changed snapshot.
Source: binary background_tasks_changed schema
Fields§
§task_id: String§run_id: Option<String>§task_type: String“local_bash” | “local_agent” | “local_workflow” | …
subagent_type: Option<String>§description: String§parent_task_id: Option<String>§ambient: Option<bool>§awaited: Option<bool>§off_host: Option<bool>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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for BackgroundTask
impl Freeze for BackgroundTask
impl Move 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
Mutably borrows from an owned value. Read more