pub struct SubagentMeta {
pub agent_type: Option<String>,
pub description: Option<String>,
pub tool_use_id: Option<String>,
pub spawn_depth: Option<u64>,
pub rest: Map<String, Value>,
}Expand description
Metadata from a subagent’s .meta.json.
Fields§
§agent_type: Option<String>Agent type (e.g. general-purpose), when present.
description: Option<String>Human-readable task description, when present.
tool_use_id: Option<String>The tool-use id of the spawning Agent/Task call, when present.
spawn_depth: Option<u64>Nesting depth of the spawn, when present.
rest: Map<String, Value>Any additional fields, keyed as Claude Code wrote them.
Trait Implementations§
Source§impl Clone for SubagentMeta
impl Clone for SubagentMeta
Source§impl Debug for SubagentMeta
impl Debug for SubagentMeta
Auto Trait Implementations§
impl Freeze for SubagentMeta
impl RefUnwindSafe for SubagentMeta
impl Send for SubagentMeta
impl Sync for SubagentMeta
impl Unpin for SubagentMeta
impl UnsafeUnpin for SubagentMeta
impl UnwindSafe for SubagentMeta
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