pub struct ToolSpec {
pub name: String,
pub description: String,
pub parameters: GenerationSchema,
pub includes_schema_in_instructions: bool,
}Expand description
Public metadata for one tool.
Fields§
§name: String§description: String§parameters: GenerationSchema§includes_schema_in_instructions: boolTrait Implementations§
impl Eq for ToolSpec
impl StructuralPartialEq for ToolSpec
Auto Trait Implementations§
impl Freeze for ToolSpec
impl RefUnwindSafe for ToolSpec
impl Send for ToolSpec
impl Sync for ToolSpec
impl Unpin for ToolSpec
impl UnsafeUnpin for ToolSpec
impl UnwindSafe for ToolSpec
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