pub struct WiringContext<'a> {
pub resolved_behaviors: &'a [Arc<dyn AgentBehavior>],
pub existing_tools: &'a HashMap<String, Arc<dyn Tool>>,
pub agent_definition: &'a AgentDefinition,
}Expand description
Context passed to SystemWiring::wire.
Fields§
§resolved_behaviors: &'a [Arc<dyn AgentBehavior>]§existing_tools: &'a HashMap<String, Arc<dyn Tool>>§agent_definition: &'a AgentDefinitionAuto Trait Implementations§
impl<'a> Freeze for WiringContext<'a>
impl<'a> !RefUnwindSafe for WiringContext<'a>
impl<'a> Send for WiringContext<'a>
impl<'a> Sync for WiringContext<'a>
impl<'a> Unpin for WiringContext<'a>
impl<'a> !UnwindSafe for WiringContext<'a>
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