pub struct ToolSpecification {
pub name: String,
pub description: Option<String>,
pub input_schema: ToolInputSchema,
}Fields§
§name: String§description: Option<String>§input_schema: ToolInputSchemaTrait Implementations§
Source§impl Clone for ToolSpecification
impl Clone for ToolSpecification
Source§fn clone(&self) -> ToolSpecification
fn clone(&self) -> ToolSpecification
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolSpecification
impl RefUnwindSafe for ToolSpecification
impl Send for ToolSpecification
impl Sync for ToolSpecification
impl Unpin for ToolSpecification
impl UnsafeUnpin for ToolSpecification
impl UnwindSafe for ToolSpecification
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