pub struct GoForwardTool;Expand description
Tool for navigating forward in browser history
Trait Implementations§
Source§impl Default for GoForwardTool
impl Default for GoForwardTool
Source§fn default() -> GoForwardTool
fn default() -> GoForwardTool
Returns the “default value” for a type. Read more
Source§impl Tool for GoForwardTool
impl Tool for GoForwardTool
Source§type Params = GoForwardParams
type Params = GoForwardParams
Associated parameter type for this tool
Source§fn execute_typed(
&self,
_params: GoForwardParams,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute_typed( &self, _params: GoForwardParams, context: &mut ToolContext<'_>, ) -> Result<ToolResult>
Execute the tool with strongly-typed parameters
Source§fn parameters_schema(&self) -> Value
fn parameters_schema(&self) -> Value
Get tool parameter schema (JSON Schema)
Source§fn execute(
&self,
params: Value,
context: &mut ToolContext<'_>,
) -> Result<ToolResult>
fn execute( &self, params: Value, context: &mut ToolContext<'_>, ) -> Result<ToolResult>
Execute the tool with JSON parameters (default implementation)
Auto Trait Implementations§
impl Freeze for GoForwardTool
impl RefUnwindSafe for GoForwardTool
impl Send for GoForwardTool
impl Sync for GoForwardTool
impl Unpin for GoForwardTool
impl UnwindSafe for GoForwardTool
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