pub struct Subagent {
pub id: SubagentId,
pub label: String,
pub detail: String,
pub elapsed: String,
pub working: bool,
}Expand description
A child agent spawned by a harness (Claude Code Task, opencode child session, pi equivalent).
Fields§
§id: SubagentId§label: String§detail: String§elapsed: String§working: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Subagent
impl<'de> Deserialize<'de> for Subagent
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 Subagent
impl Freeze for Subagent
impl Move for Subagent
impl RefUnwindSafe for Subagent
impl Send for Subagent
impl Sync for Subagent
impl Unpin for Subagent
impl UnsafeUnpin for Subagent
impl UnwindSafe for Subagent
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