pub struct Views {
pub agent_sessions: BTreeMap<ToolFqn, ToolSession>,
pub agent_tools: BTreeMap<ToolFqn, AgentTool>,
pub human_tools: BTreeMap<ToolFqn, HumanTool>,
}Expand description
An Artifact’s tools by audience, each named by its FQN (files.read).
Fields§
§agent_sessions: BTreeMap<ToolFqn, ToolSession>§agent_tools: BTreeMap<ToolFqn, AgentTool>§human_tools: BTreeMap<ToolFqn, HumanTool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Views
impl<'de> Deserialize<'de> for Views
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 Forget for Views
impl Freeze for Viewswhere
*const LeafNode<ToolFqn, ToolSession> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(ToolFqn, ToolSession)>>: Freeze,
*const LeafNode<ToolFqn, AgentTool> is !null: Freeze,
PhantomData<Box<(ToolFqn, AgentTool)>>: Freeze,
*const LeafNode<ToolFqn, HumanTool> is !null: Freeze,
PhantomData<Box<(ToolFqn, HumanTool)>>: Freeze,
impl Move for Views
impl RefUnwindSafe for Views
impl Send for Views
impl Sync for Views
impl Unpin for Views
impl UnsafeUnpin for Viewswhere
*const LeafNode<ToolFqn, ToolSession> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(ToolFqn, ToolSession)>>: UnsafeUnpin,
*const LeafNode<ToolFqn, AgentTool> is !null: UnsafeUnpin,
PhantomData<Box<(ToolFqn, AgentTool)>>: UnsafeUnpin,
*const LeafNode<ToolFqn, HumanTool> is !null: UnsafeUnpin,
PhantomData<Box<(ToolFqn, HumanTool)>>: UnsafeUnpin,
impl UnwindSafe for Viewswhere
BTreeMap<ToolFqn, ToolSession>: UnwindSafe,
BTreeMap<ToolFqn, AgentTool>: UnwindSafe,
BTreeMap<ToolFqn, HumanTool>: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.