pub struct DocApiIndex<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiIndex<'a, I>
impl<'a, I: Invoker> DocApiIndex<'a, I>
pub fn new(invoker: &'a I) -> Self
pub fn entries(&self) -> DocApiIndexEntries<'a, I>
Sourcepub fn configure<'call>(
&'call self,
params: &'call DocIndexConfigureBoundParams,
) -> impl Future<Output = Result<DocIndexConfigureResult>> + Send + 'call
pub fn configure<'call>( &'call self, params: &'call DocIndexConfigureBoundParams, ) -> impl Future<Output = Result<DocIndexConfigureResult>> + Send + 'call
Update the configuration of an existing index block.
Sourcepub async fn configure_with_options(
&self,
params: &DocIndexConfigureBoundParams,
options: InvokeOptions,
) -> Result<DocIndexConfigureResult>
pub async fn configure_with_options( &self, params: &DocIndexConfigureBoundParams, options: InvokeOptions, ) -> Result<DocIndexConfigureResult>
Update the configuration of an existing index block.
Sourcepub fn get<'call>(
&'call self,
params: &'call DocIndexGetBoundParams,
) -> impl Future<Output = Result<DocIndexGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocIndexGetBoundParams, ) -> impl Future<Output = Result<DocIndexGetResult>> + Send + 'call
Get detailed information about a specific index block.
Sourcepub async fn get_with_options(
&self,
params: &DocIndexGetBoundParams,
options: InvokeOptions,
) -> Result<DocIndexGetResult>
pub async fn get_with_options( &self, params: &DocIndexGetBoundParams, options: InvokeOptions, ) -> Result<DocIndexGetResult>
Get detailed information about a specific index block.
Sourcepub fn insert<'call>(
&'call self,
params: &'call DocIndexInsertBoundParams,
) -> impl Future<Output = Result<DocIndexInsertResult>> + Send + 'call
pub fn insert<'call>( &'call self, params: &'call DocIndexInsertBoundParams, ) -> impl Future<Output = Result<DocIndexInsertResult>> + Send + 'call
Insert a new index block at a target location.
Sourcepub async fn insert_with_options(
&self,
params: &DocIndexInsertBoundParams,
options: InvokeOptions,
) -> Result<DocIndexInsertResult>
pub async fn insert_with_options( &self, params: &DocIndexInsertBoundParams, options: InvokeOptions, ) -> Result<DocIndexInsertResult>
Insert a new index block at a target location.
Sourcepub fn list<'call>(
&'call self,
params: &'call DocIndexListBoundParams,
) -> impl Future<Output = Result<DocIndexListResult>> + Send + 'call
pub fn list<'call>( &'call self, params: &'call DocIndexListBoundParams, ) -> impl Future<Output = Result<DocIndexListResult>> + Send + 'call
List all index blocks in the document.
Sourcepub async fn list_with_options(
&self,
params: &DocIndexListBoundParams,
options: InvokeOptions,
) -> Result<DocIndexListResult>
pub async fn list_with_options( &self, params: &DocIndexListBoundParams, options: InvokeOptions, ) -> Result<DocIndexListResult>
List all index blocks in the document.
Sourcepub fn rebuild<'call>(
&'call self,
params: &'call DocIndexRebuildBoundParams,
) -> impl Future<Output = Result<DocIndexRebuildResult>> + Send + 'call
pub fn rebuild<'call>( &'call self, params: &'call DocIndexRebuildBoundParams, ) -> impl Future<Output = Result<DocIndexRebuildResult>> + Send + 'call
Rebuild (regenerate) an index block from its entries.
Sourcepub async fn rebuild_with_options(
&self,
params: &DocIndexRebuildBoundParams,
options: InvokeOptions,
) -> Result<DocIndexRebuildResult>
pub async fn rebuild_with_options( &self, params: &DocIndexRebuildBoundParams, options: InvokeOptions, ) -> Result<DocIndexRebuildResult>
Rebuild (regenerate) an index block from its entries.
Sourcepub fn remove<'call>(
&'call self,
params: &'call DocIndexRemoveBoundParams,
) -> impl Future<Output = Result<DocIndexRemoveResult>> + Send + 'call
pub fn remove<'call>( &'call self, params: &'call DocIndexRemoveBoundParams, ) -> impl Future<Output = Result<DocIndexRemoveResult>> + Send + 'call
Remove an index block from the document.
Sourcepub async fn remove_with_options(
&self,
params: &DocIndexRemoveBoundParams,
options: InvokeOptions,
) -> Result<DocIndexRemoveResult>
pub async fn remove_with_options( &self, params: &DocIndexRemoveBoundParams, options: InvokeOptions, ) -> Result<DocIndexRemoveResult>
Remove an index block from the document.
Auto Trait Implementations§
impl<'a, I> Freeze for DocApiIndex<'a, I>
impl<'a, I> RefUnwindSafe for DocApiIndex<'a, I>where
&'a I: RefUnwindSafe,
impl<'a, I> Send for DocApiIndex<'a, I>
impl<'a, I> Sync for DocApiIndex<'a, I>
impl<'a, I> Unpin for DocApiIndex<'a, I>
impl<'a, I> UnsafeUnpin for DocApiIndex<'a, I>where
&'a I: UnsafeUnpin,
impl<'a, I> UnwindSafe for DocApiIndex<'a, I>where
&'a I: UnwindSafe,
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