pub struct TaskGetTool;Expand description
TaskGet tool - get a specific task
Implementations§
Source§impl TaskGetTool
impl TaskGetTool
pub fn new() -> Self
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TaskGetTool
impl RefUnwindSafe for TaskGetTool
impl Send for TaskGetTool
impl Sync for TaskGetTool
impl Unpin for TaskGetTool
impl UnsafeUnpin for TaskGetTool
impl UnwindSafe for TaskGetTool
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