pub struct ToolNodeConfig {
pub tool_name: String,
pub argument_mappings: HashMap<String, String>,
pub output_key: String,
}Expand description
Configuration for tool nodes
Fields§
§tool_name: String§argument_mappings: HashMap<String, String>§output_key: StringTrait Implementations§
Source§impl Clone for ToolNodeConfig
impl Clone for ToolNodeConfig
Source§fn clone(&self) -> ToolNodeConfig
fn clone(&self) -> ToolNodeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolNodeConfig
impl Debug for ToolNodeConfig
Source§impl<'de> Deserialize<'de> for ToolNodeConfig
impl<'de> Deserialize<'de> for ToolNodeConfig
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 ToolNodeConfig
impl RefUnwindSafe for ToolNodeConfig
impl Send for ToolNodeConfig
impl Sync for ToolNodeConfig
impl Unpin for ToolNodeConfig
impl UnwindSafe for ToolNodeConfig
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