pub struct CurationApiClient { /* private fields */ }
Implementations§
Source§impl CurationApiClient
impl CurationApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl CurationApi for CurationApiClient
impl CurationApi for CurationApiClient
Source§fn upsert_search_override<'life0, 'async_trait>(
&'life0 self,
params: UpsertSearchOverrideParams,
) -> Pin<Box<dyn Future<Output = Result<SearchOverride, Error<UpsertSearchOverrideError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn upsert_search_override<'life0, 'async_trait>(
&'life0 self,
params: UpsertSearchOverrideParams,
) -> Pin<Box<dyn Future<Output = Result<SearchOverride, Error<UpsertSearchOverrideError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create or update an override to promote certain documents over others. Using overrides, you can include or exclude specific documents for a given query.
fn delete_search_override<'life0, 'async_trait>(
&'life0 self,
params: DeleteSearchOverrideParams,
) -> Pin<Box<dyn Future<Output = Result<SearchOverride, Error<DeleteSearchOverrideError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_search_overrides<'life0, 'async_trait>(
&'life0 self,
params: GetSearchOverridesParams,
) -> Pin<Box<dyn Future<Output = Result<SearchOverridesResponse, Error<GetSearchOverridesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for CurationApiClient
impl !RefUnwindSafe for CurationApiClient
impl Send for CurationApiClient
impl Sync for CurationApiClient
impl Unpin for CurationApiClient
impl !UnwindSafe for CurationApiClient
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