pub struct SearchEngine;Trait Implementations§
Source§impl Tool for SearchEngine
impl Tool for SearchEngine
fn name(&self) -> &str
fn description(&self) -> &str
fn input_schema(&self) -> Value
fn execute_internal<'life0, 'async_trait>(
&'life0 self,
parameters: Value,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, BrightDataError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn execute<'life0, 'async_trait>(
&'life0 self,
parameters: Value,
) -> Pin<Box<dyn Future<Output = Result<ToolResult, BrightDataError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn execute_legacy<'life0, 'async_trait>(
&'life0 self,
parameters: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, BrightDataError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for SearchEngine
impl RefUnwindSafe for SearchEngine
impl Send for SearchEngine
impl Sync for SearchEngine
impl Unpin for SearchEngine
impl UnwindSafe for SearchEngine
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