pub struct ExaProvider { /* private fields */ }Implementations§
Source§impl ExaProvider
impl ExaProvider
pub fn new(api_key: &str) -> SearchResult<Self>
pub fn new_advanced(api_key: &str) -> SearchResult<Self>
pub fn with_model(self, model: &str) -> SearchResult<Self>
pub fn with_contents(self, include_contents: bool) -> Self
pub fn with_base_url(self, base_url: &str) -> Self
Trait Implementations§
Source§impl Debug for ExaProvider
impl Debug for ExaProvider
Source§impl SearchProvider for ExaProvider
impl SearchProvider for ExaProvider
Source§fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SearchOptions,
) -> Pin<Box<dyn Future<Output = SearchResult<Vec<SearchResultType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
options: &'life1 SearchOptions,
) -> Pin<Box<dyn Future<Output = SearchResult<Vec<SearchResultType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Search method implementation
Auto Trait Implementations§
impl Freeze for ExaProvider
impl RefUnwindSafe for ExaProvider
impl Send for ExaProvider
impl Sync for ExaProvider
impl Unpin for ExaProvider
impl UnwindSafe for ExaProvider
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