pub struct SpawnedAgent {
pub agent: Agent,
pub config: AgentConfig,
pub result: Option<String>,
}Expand description
An auto-spawned agent with its assigned configuration
Fields§
§agent: AgentThe agent instance
config: AgentConfigConfiguration for this agent
result: Option<String>Result from this agent’s execution
Auto Trait Implementations§
impl Freeze for SpawnedAgent
impl !RefUnwindSafe for SpawnedAgent
impl Send for SpawnedAgent
impl Sync for SpawnedAgent
impl Unpin for SpawnedAgent
impl !UnwindSafe for SpawnedAgent
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