pub struct ToolParameter {
pub name: String,
pub description: String,
pub required: bool,
}Expand description
Tool parameter definition
Fields§
§name: String§description: String§required: boolTrait Implementations§
Source§impl Clone for ToolParameter
impl Clone for ToolParameter
Source§fn clone(&self) -> ToolParameter
fn clone(&self) -> ToolParameter
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 moreAuto Trait Implementations§
impl Freeze for ToolParameter
impl RefUnwindSafe for ToolParameter
impl Send for ToolParameter
impl Sync for ToolParameter
impl Unpin for ToolParameter
impl UnwindSafe for ToolParameter
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