pub struct DelegateInvocation {
pub parent_session_id: SessionId,
pub parent_run_id: RunId,
pub parent_tool_call_id: ToolCallId,
pub agent_type: AgentId,
pub description: String,
pub prompt: String,
pub background: bool,
pub resume_session_id: Option<String>,
pub inherit_context: bool,
}Expand description
Immutable arguments for one delegate-tool invocation.
Fields§
§parent_session_id: SessionId§parent_run_id: RunId§parent_tool_call_id: ToolCallId§agent_type: AgentId§description: String§prompt: String§background: bool§resume_session_id: Option<String>Handle or full UUID of an existing subagent to resume. Resolved against the parent’s tree at admission.
inherit_context: boolTrait Implementations§
Source§impl Clone for DelegateInvocation
impl Clone for DelegateInvocation
Source§fn clone(&self) -> DelegateInvocation
fn clone(&self) -> DelegateInvocation
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 DelegateInvocation
impl Debug for DelegateInvocation
Source§impl<'de> Deserialize<'de> for DelegateInvocation
impl<'de> Deserialize<'de> for DelegateInvocation
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 DelegateInvocation
impl RefUnwindSafe for DelegateInvocation
impl Send for DelegateInvocation
impl Sync for DelegateInvocation
impl Unpin for DelegateInvocation
impl UnsafeUnpin for DelegateInvocation
impl UnwindSafe for DelegateInvocation
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