pub struct ToolParam {
pub name: String,
pub description: String,
pub param_type: ParamType,
pub required: bool,
}Expand description
A parameter definition for a tool
Fields§
§name: String§description: String§param_type: ParamType§required: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for ToolParam
impl RefUnwindSafe for ToolParam
impl Send for ToolParam
impl Sync for ToolParam
impl Unpin for ToolParam
impl UnsafeUnpin for ToolParam
impl UnwindSafe for ToolParam
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