pub struct Target {
pub agent: AgentRef,
pub message: Message,
pub executor: Option<ExecutorHint>,
}Expand description
One leaf of a (possibly fan-out) invocation.
Fields§
§agent: AgentRef§message: MessageThe user-facing message handed to the child as its first turn.
executor: Option<ExecutorHint>Per-target executor override. Falls back to Invocation.executor
when absent. Rare — used by tests and “force this one to a
specific sandbox” debugging cases.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Target
impl<'de> Deserialize<'de> for Target
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 Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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