pub struct RunChildInput {
pub child_session_id: String,
pub parent_session_id: String,
pub model: String,
}Expand description
Minimal input to run a child session.
The persisted child session already holds the system prompt + the pending user message, so only routing identifiers and the resolved model are required here.
Fields§
§child_session_id: StringChild session id (already persisted with kind=child + a pending user msg).
parent_session_id: StringParent session id whose event stream receives SubAgent* events.
model: StringResolved model string for the child run.
Trait Implementations§
Source§impl Clone for RunChildInput
impl Clone for RunChildInput
Source§fn clone(&self) -> RunChildInput
fn clone(&self) -> RunChildInput
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 moreAuto Trait Implementations§
impl Freeze for RunChildInput
impl RefUnwindSafe for RunChildInput
impl Send for RunChildInput
impl Sync for RunChildInput
impl Unpin for RunChildInput
impl UnsafeUnpin for RunChildInput
impl UnwindSafe for RunChildInput
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