pub struct ToolDescription {
pub name: String,
pub description: String,
pub description_context: String,
pub input_format: Format,
pub output_format: Format,
}
Expand description
Represents the description of a tool, including its name, usage, and input/output formats.
Fields§
§name: String
§description: String
§description_context: String
§input_format: Format
§output_format: Format
This will be used in the future.
Implementations§
Trait Implementations§
Source§impl Debug for ToolDescription
impl Debug for ToolDescription
Auto Trait Implementations§
impl Freeze for ToolDescription
impl RefUnwindSafe for ToolDescription
impl Send for ToolDescription
impl Sync for ToolDescription
impl Unpin for ToolDescription
impl UnwindSafe for ToolDescription
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