pub struct CustomToolConfig {
pub id: String,
pub name: String,
pub description: String,
pub category: String,
pub parameters: Vec<ParameterConfig>,
pub return_type: String,
pub handler: String,
}Expand description
Custom Tool Configuration
Fields§
§id: String§name: String§description: String§category: String§parameters: Vec<ParameterConfig>§return_type: String§handler: StringTrait Implementations§
Source§impl Clone for CustomToolConfig
impl Clone for CustomToolConfig
Source§fn clone(&self) -> CustomToolConfig
fn clone(&self) -> CustomToolConfig
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 CustomToolConfig
impl Debug for CustomToolConfig
Source§impl<'de> Deserialize<'de> for CustomToolConfig
impl<'de> Deserialize<'de> for CustomToolConfig
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 CustomToolConfig
impl RefUnwindSafe for CustomToolConfig
impl Send for CustomToolConfig
impl Sync for CustomToolConfig
impl Unpin for CustomToolConfig
impl UnwindSafe for CustomToolConfig
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