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§fn clone(&self) -> SubagentMeta
fn clone(&self) -> SubagentMeta
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 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