pub struct SubagentMeta {
pub tool_use_id: String,
pub agent_type: String,
pub description: String,
}Expand description
Fork metadata the harness writes alongside each subagent
transcript (agent-<id>.meta.json). tool_use_id is the Task
tool_use that forked the agent — the causal edge the tapes deriver
attaches.
Fields§
§tool_use_id: StringId of the Task tool_use block that spawned this subagent.
agent_type: StringSubagent type (e.g. general-purpose).
description: StringHarness-supplied description of the delegated task.
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
Source§impl Default for SubagentMeta
impl Default for SubagentMeta
Source§fn default() -> SubagentMeta
fn default() -> SubagentMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubagentMetawhere
SubagentMeta: Default,
impl<'de> Deserialize<'de> for SubagentMetawhere
SubagentMeta: Default,
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
impl Eq for SubagentMeta
Source§impl PartialEq for SubagentMeta
impl PartialEq for SubagentMeta
impl StructuralPartialEq 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
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.