pub struct SpawnRef {
pub parent_session_id: String,
pub parent_loop_id: String,
pub tool_call_id: String,
pub tool_name: String,
}Expand description
Inbound cross-session link — recorded on the child Session when the
session was spawned by a tool call in a different (parent) session.
Together with ChildLoopRef in the parent session this forms a complete
bidirectional cross-session spawn graph.
Fields§
§parent_session_id: StringThe parent session’s session_id.
parent_loop_id: StringThe parent loop’s loop_id (the loop whose tool call triggered this spawn).
tool_call_id: StringThe ToolCall.id in the parent loop.
tool_name: StringThe tool name in the parent loop.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpawnRef
impl<'de> Deserialize<'de> for SpawnRef
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 Freeze for SpawnRef
impl RefUnwindSafe for SpawnRef
impl Send for SpawnRef
impl Sync for SpawnRef
impl Unpin for SpawnRef
impl UnsafeUnpin for SpawnRef
impl UnwindSafe for SpawnRef
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