pub struct DocApiFields<'a, I: Invoker> { /* private fields */ }Implementations§
Source§impl<'a, I: Invoker> DocApiFields<'a, I>
impl<'a, I: Invoker> DocApiFields<'a, I>
pub fn new(invoker: &'a I) -> Self
Sourcepub fn get<'call>(
&'call self,
params: &'call DocFieldsGetBoundParams,
) -> impl Future<Output = Result<DocFieldsGetResult>> + Send + 'call
pub fn get<'call>( &'call self, params: &'call DocFieldsGetBoundParams, ) -> impl Future<Output = Result<DocFieldsGetResult>> + Send + 'call
Get detailed information about a specific field.
Sourcepub async fn get_with_options(
&self,
params: &DocFieldsGetBoundParams,
options: InvokeOptions,
) -> Result<DocFieldsGetResult>
pub async fn get_with_options( &self, params: &DocFieldsGetBoundParams, options: InvokeOptions, ) -> Result<DocFieldsGetResult>
Get detailed information about a specific field.
Sourcepub fn insert<'call>(
&'call self,
params: &'call DocFieldsInsertBoundParams,
) -> impl Future<Output = Result<DocFieldsInsertResult>> + Send + 'call
pub fn insert<'call>( &'call self, params: &'call DocFieldsInsertBoundParams, ) -> impl Future<Output = Result<DocFieldsInsertResult>> + Send + 'call
Insert a raw field code at a target location, optionally preserving cached result text.
Sourcepub async fn insert_with_options(
&self,
params: &DocFieldsInsertBoundParams,
options: InvokeOptions,
) -> Result<DocFieldsInsertResult>
pub async fn insert_with_options( &self, params: &DocFieldsInsertBoundParams, options: InvokeOptions, ) -> Result<DocFieldsInsertResult>
Insert a raw field code at a target location, optionally preserving cached result text.
Sourcepub fn list<'call>(
&'call self,
params: &'call DocFieldsListBoundParams,
) -> impl Future<Output = Result<DocFieldsListResult>> + Send + 'call
pub fn list<'call>( &'call self, params: &'call DocFieldsListBoundParams, ) -> impl Future<Output = Result<DocFieldsListResult>> + Send + 'call
List all fields in the document.
Sourcepub async fn list_with_options(
&self,
params: &DocFieldsListBoundParams,
options: InvokeOptions,
) -> Result<DocFieldsListResult>
pub async fn list_with_options( &self, params: &DocFieldsListBoundParams, options: InvokeOptions, ) -> Result<DocFieldsListResult>
List all fields in the document.
Sourcepub fn rebuild<'call>(
&'call self,
params: &'call DocFieldsRebuildBoundParams,
) -> impl Future<Output = Result<DocFieldsRebuildResult>> + Send + 'call
pub fn rebuild<'call>( &'call self, params: &'call DocFieldsRebuildBoundParams, ) -> impl Future<Output = Result<DocFieldsRebuildResult>> + Send + 'call
Rebuild (recalculate) a field.
Sourcepub async fn rebuild_with_options(
&self,
params: &DocFieldsRebuildBoundParams,
options: InvokeOptions,
) -> Result<DocFieldsRebuildResult>
pub async fn rebuild_with_options( &self, params: &DocFieldsRebuildBoundParams, options: InvokeOptions, ) -> Result<DocFieldsRebuildResult>
Rebuild (recalculate) a field.
Sourcepub fn remove<'call>(
&'call self,
params: &'call DocFieldsRemoveBoundParams,
) -> impl Future<Output = Result<DocFieldsRemoveResult>> + Send + 'call
pub fn remove<'call>( &'call self, params: &'call DocFieldsRemoveBoundParams, ) -> impl Future<Output = Result<DocFieldsRemoveResult>> + Send + 'call
Remove a field from the document.
Sourcepub async fn remove_with_options(
&self,
params: &DocFieldsRemoveBoundParams,
options: InvokeOptions,
) -> Result<DocFieldsRemoveResult>
pub async fn remove_with_options( &self, params: &DocFieldsRemoveBoundParams, options: InvokeOptions, ) -> Result<DocFieldsRemoveResult>
Remove a field from the document.
Auto Trait Implementations§
impl<'a, I> Freeze for DocApiFields<'a, I>
impl<'a, I> RefUnwindSafe for DocApiFields<'a, I>where
&'a I: RefUnwindSafe,
impl<'a, I> Send for DocApiFields<'a, I>
impl<'a, I> Sync for DocApiFields<'a, I>
impl<'a, I> Unpin for DocApiFields<'a, I>
impl<'a, I> UnsafeUnpin for DocApiFields<'a, I>where
&'a I: UnsafeUnpin,
impl<'a, I> UnwindSafe for DocApiFields<'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