pub struct MemoryTool {
pub tool: Tool,
pub handler: Handler,
}Expand description
Tool schema + handler pair, ready to register on a hook.
Fields§
§tool: Tool§handler: HandlerAuto Trait Implementations§
impl Freeze for MemoryTool
impl !RefUnwindSafe for MemoryTool
impl Send for MemoryTool
impl Sync for MemoryTool
impl Unpin for MemoryTool
impl UnsafeUnpin for MemoryTool
impl !UnwindSafe for MemoryTool
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