pub struct ToolSpecFunction {
pub name: String,
pub description: String,
pub parameters: Value,
}Fields§
§name: String§description: String§parameters: ValueTrait Implementations§
Source§impl Clone for ToolSpecFunction
impl Clone for ToolSpecFunction
Source§impl Debug for ToolSpecFunction
impl Debug for ToolSpecFunction
Source§impl PartialEq for ToolSpecFunction
impl PartialEq for ToolSpecFunction
Source§impl Serialize for ToolSpecFunction
impl Serialize for ToolSpecFunction
impl StructuralPartialEq for ToolSpecFunction
Auto Trait Implementations§
impl Forget for ToolSpecFunction
impl Freeze for ToolSpecFunctionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ToolSpecFunction
impl RefUnwindSafe for ToolSpecFunction
impl Send for ToolSpecFunction
impl Sync for ToolSpecFunction
impl Unpin for ToolSpecFunction
impl UnsafeUnpin for ToolSpecFunctionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ToolSpecFunction
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