Skip to main content

DocApiTables

Struct DocApiTables 

Source
pub struct DocApiTables<'a, I: Invoker> { /* private fields */ }

Implementations§

Source§

impl<'a, I: Invoker> DocApiTables<'a, I>

Source

pub fn new(invoker: &'a I) -> Self

Source

pub fn apply_border_preset<'call>( &'call self, params: &'call DocTablesApplyBorderPresetBoundParams, ) -> impl Future<Output = Result<DocTablesApplyBorderPresetResult>> + Send + 'call

Apply a border preset (e.g. all borders, outside only) to a table.

Source

pub async fn apply_border_preset_with_options( &self, params: &DocTablesApplyBorderPresetBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyBorderPresetResult>

Apply a border preset (e.g. all borders, outside only) to a table.

Source

pub fn apply_preset<'call>( &'call self, params: &'call DocTablesApplyPresetBoundParams, ) -> impl Future<Output = Result<DocTablesApplyPresetResult>> + Send + 'call

Apply a named visual preset to a table. Presets: “grid” (1pt black borders all around), “minimal” (no outer borders, hairline grey row separators + thicker bottom), “striped” (banded rows on, 0.5pt grey borders), “accent” (filled header row + thick accent top/bottom; defaults to dark blue, override with accentColor). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and superdoc_mutations (intentionally NOT exposed as a top-level action on superdoc_table. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).

Source

pub async fn apply_preset_with_options( &self, params: &DocTablesApplyPresetBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyPresetResult>

Apply a named visual preset to a table. Presets: “grid” (1pt black borders all around), “minimal” (no outer borders, hairline grey row separators + thicker bottom), “striped” (banded rows on, 0.5pt grey borders), “accent” (filled header row + thick accent top/bottom; defaults to dark blue, override with accentColor). Composes set_borders + set_style_options + header-row shading in one call. Available via the document API and superdoc_mutations (intentionally NOT exposed as a top-level action on superdoc_table. Agents should compose explicit set_borders / set_shading / set_style_options calls so they always pick concrete colors that match the document context).

Source

pub fn apply_style<'call>( &'call self, params: &'call DocTablesApplyStyleBoundParams, ) -> impl Future<Output = Result<DocTablesApplyStyleResult>> + Send + 'call

Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass styleOptions with the flags you want to set or clear (omitted flags stay unchanged). For “format the first row as a header” use styleOptions: { headerRow: true }. Optional styleId applies a named table style. Leave it unset unless you have a styleId from superdoc_get_content (no need to invent one).

Source

pub async fn apply_style_with_options( &self, params: &DocTablesApplyStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesApplyStyleResult>

Toggle conditional-format flags (header row, banded rows/columns, first/last column, last row) on a table. Pass styleOptions with the flags you want to set or clear (omitted flags stay unchanged). For “format the first row as a header” use styleOptions: { headerRow: true }. Optional styleId applies a named table style. Leave it unset unless you have a styleId from superdoc_get_content (no need to invent one).

Source

pub fn clear_border<'call>( &'call self, params: &'call DocTablesClearBorderBoundParams, ) -> impl Future<Output = Result<DocTablesClearBorderResult>> + Send + 'call

Remove border formatting from a table or cell range.

Source

pub async fn clear_border_with_options( &self, params: &DocTablesClearBorderBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearBorderResult>

Remove border formatting from a table or cell range.

Source

pub fn clear_cell_spacing<'call>( &'call self, params: &'call DocTablesClearCellSpacingBoundParams, ) -> impl Future<Output = Result<DocTablesClearCellSpacingResult>> + Send + 'call

Remove custom cell spacing from the target table.

Source

pub async fn clear_cell_spacing_with_options( &self, params: &DocTablesClearCellSpacingBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearCellSpacingResult>

Remove custom cell spacing from the target table.

Source

pub fn clear_contents<'call>( &'call self, params: &'call DocTablesClearContentsBoundParams, ) -> impl Future<Output = Result<DocTablesClearContentsResult>> + Send + 'call

Clear the contents of the target table or cell range.

Source

pub async fn clear_contents_with_options( &self, params: &DocTablesClearContentsBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearContentsResult>

Clear the contents of the target table or cell range.

Source

pub fn clear_default_style<'call>( &'call self, params: &'call DocTablesClearDefaultStyleBoundParams, ) -> impl Future<Output = Result<DocTablesClearDefaultStyleResult>> + Send + 'call

Remove the document-level default table style setting.

Source

pub async fn clear_default_style_with_options( &self, params: &DocTablesClearDefaultStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearDefaultStyleResult>

Remove the document-level default table style setting.

Source

pub fn clear_shading<'call>( &'call self, params: &'call DocTablesClearShadingBoundParams, ) -> impl Future<Output = Result<DocTablesClearShadingResult>> + Send + 'call

Remove shading from a table or cell range.

Source

pub async fn clear_shading_with_options( &self, params: &DocTablesClearShadingBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearShadingResult>

Remove shading from a table or cell range.

Source

pub fn clear_style<'call>( &'call self, params: &'call DocTablesClearStyleBoundParams, ) -> impl Future<Output = Result<DocTablesClearStyleResult>> + Send + 'call

Remove the applied table style, reverting to defaults.

Source

pub async fn clear_style_with_options( &self, params: &DocTablesClearStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesClearStyleResult>

Remove the applied table style, reverting to defaults.

Source

pub fn convert_from_text<'call>( &'call self, params: &'call DocTablesConvertFromTextBoundParams, ) -> impl Future<Output = Result<DocTablesConvertFromTextResult>> + Send + 'call

Convert a text range into a table.

Source

pub async fn convert_from_text_with_options( &self, params: &DocTablesConvertFromTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesConvertFromTextResult>

Convert a text range into a table.

Source

pub fn convert_to_text<'call>( &'call self, params: &'call DocTablesConvertToTextBoundParams, ) -> impl Future<Output = Result<DocTablesConvertToTextResult>> + Send + 'call

Convert a table back to plain text.

Source

pub async fn convert_to_text_with_options( &self, params: &DocTablesConvertToTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesConvertToTextResult>

Convert a table back to plain text.

Source

pub fn delete<'call>( &'call self, params: &'call DocTablesDeleteBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteResult>> + Send + 'call

Delete the target table from the document.

Source

pub async fn delete_with_options( &self, params: &DocTablesDeleteBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteResult>

Delete the target table from the document.

Source

pub fn delete_cell<'call>( &'call self, params: &'call DocTablesDeleteCellBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteCellResult>> + Send + 'call

Delete a cell from a table row.

Source

pub async fn delete_cell_with_options( &self, params: &DocTablesDeleteCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteCellResult>

Delete a cell from a table row.

Source

pub fn delete_column<'call>( &'call self, params: &'call DocTablesDeleteColumnBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteColumnResult>> + Send + 'call

Delete a column from the target table.

Source

pub async fn delete_column_with_options( &self, params: &DocTablesDeleteColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteColumnResult>

Delete a column from the target table.

Source

pub fn delete_row<'call>( &'call self, params: &'call DocTablesDeleteRowBoundParams, ) -> impl Future<Output = Result<DocTablesDeleteRowResult>> + Send + 'call

Delete a row from the target table.

Source

pub async fn delete_row_with_options( &self, params: &DocTablesDeleteRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesDeleteRowResult>

Delete a row from the target table.

Source

pub fn distribute_columns<'call>( &'call self, params: &'call DocTablesDistributeColumnsBoundParams, ) -> impl Future<Output = Result<DocTablesDistributeColumnsResult>> + Send + 'call

Distribute column widths evenly across the target table.

Source

pub async fn distribute_columns_with_options( &self, params: &DocTablesDistributeColumnsBoundParams, options: InvokeOptions, ) -> Result<DocTablesDistributeColumnsResult>

Distribute column widths evenly across the target table.

Source

pub fn distribute_rows<'call>( &'call self, params: &'call DocTablesDistributeRowsBoundParams, ) -> impl Future<Output = Result<DocTablesDistributeRowsResult>> + Send + 'call

Distribute row heights evenly across the target table.

Source

pub async fn distribute_rows_with_options( &self, params: &DocTablesDistributeRowsBoundParams, options: InvokeOptions, ) -> Result<DocTablesDistributeRowsResult>

Distribute row heights evenly across the target table.

Source

pub fn get<'call>( &'call self, params: &'call DocTablesGetBoundParams, ) -> impl Future<Output = Result<DocTablesGetResult>> + Send + 'call

Retrieve table structure and dimensions by locator.

Source

pub async fn get_with_options( &self, params: &DocTablesGetBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetResult>

Retrieve table structure and dimensions by locator.

Source

pub fn get_cells<'call>( &'call self, params: &'call DocTablesGetCellsBoundParams, ) -> impl Future<Output = Result<DocTablesGetCellsResult>> + Send + 'call

Retrieve cell information for a table, optionally filtered by row or column.

Source

pub async fn get_cells_with_options( &self, params: &DocTablesGetCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetCellsResult>

Retrieve cell information for a table, optionally filtered by row or column.

Source

pub fn get_properties<'call>( &'call self, params: &'call DocTablesGetPropertiesBoundParams, ) -> impl Future<Output = Result<DocTablesGetPropertiesResult>> + Send + 'call

Retrieve layout and style properties of a table.

Source

pub async fn get_properties_with_options( &self, params: &DocTablesGetPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetPropertiesResult>

Retrieve layout and style properties of a table.

Source

pub fn get_styles<'call>( &'call self, params: &'call DocTablesGetStylesBoundParams, ) -> impl Future<Output = Result<DocTablesGetStylesResult>> + Send + 'call

List all table styles and the document-level default table style setting.

Source

pub async fn get_styles_with_options( &self, params: &DocTablesGetStylesBoundParams, options: InvokeOptions, ) -> Result<DocTablesGetStylesResult>

List all table styles and the document-level default table style setting.

Source

pub fn insert_cell<'call>( &'call self, params: &'call DocTablesInsertCellBoundParams, ) -> impl Future<Output = Result<DocTablesInsertCellResult>> + Send + 'call

Insert a new cell into a table row.

Source

pub async fn insert_cell_with_options( &self, params: &DocTablesInsertCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertCellResult>

Insert a new cell into a table row.

Source

pub fn insert_column<'call>( &'call self, params: &'call DocTablesInsertColumnBoundParams, ) -> impl Future<Output = Result<DocTablesInsertColumnResult>> + Send + 'call

Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.

Source

pub async fn insert_column_with_options( &self, params: &DocTablesInsertColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertColumnResult>

Insert a new column into the target table. The new column is cloned from an adjacent column, so it inherits the existing cell shading, borders, alignment, and width. No follow-up styling call is needed unless the new column should look different from the rest of the table.

Source

pub fn insert_row<'call>( &'call self, params: &'call DocTablesInsertRowBoundParams, ) -> impl Future<Output = Result<DocTablesInsertRowResult>> + Send + 'call

Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.

Source

pub async fn insert_row_with_options( &self, params: &DocTablesInsertRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesInsertRowResult>

Insert a new row into the target table. The new row is cloned from an adjacent row, so it inherits the existing cell shading, borders, alignment, and padding. No follow-up styling call is needed unless the new row should look different from the rest of the table.

Source

pub fn merge_cells<'call>( &'call self, params: &'call DocTablesMergeCellsBoundParams, ) -> impl Future<Output = Result<DocTablesMergeCellsResult>> + Send + 'call

Merge a range of table cells into one.

Source

pub async fn merge_cells_with_options( &self, params: &DocTablesMergeCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesMergeCellsResult>

Merge a range of table cells into one.

Source

pub fn move_<'call>( &'call self, params: &'call DocTablesMoveBoundParams, ) -> impl Future<Output = Result<DocTablesMoveResult>> + Send + 'call

Move a table to a new position in the document.

Source

pub async fn move_with_options( &self, params: &DocTablesMoveBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveResult>

Move a table to a new position in the document.

Source

pub fn move_column<'call>( &'call self, params: &'call DocTablesMoveColumnBoundParams, ) -> impl Future<Output = Result<DocTablesMoveColumnResult>> + Send + 'call

Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet.

Source

pub async fn move_column_with_options( &self, params: &DocTablesMoveColumnBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveColumnResult>

Move a column to a new position within the same table. Direct mode only; tables with vertical merges, nested tables, or irregular column coverage are rejected, and tracked (suggesting) mode is not supported yet.

Source

pub fn move_row<'call>( &'call self, params: &'call DocTablesMoveRowBoundParams, ) -> impl Future<Output = Result<DocTablesMoveRowResult>> + Send + 'call

Move a row to a new position within the same table.

Source

pub async fn move_row_with_options( &self, params: &DocTablesMoveRowBoundParams, options: InvokeOptions, ) -> Result<DocTablesMoveRowResult>

Move a row to a new position within the same table.

Source

pub fn set_alt_text<'call>( &'call self, params: &'call DocTablesSetAltTextBoundParams, ) -> impl Future<Output = Result<DocTablesSetAltTextResult>> + Send + 'call

Set the alternative text description for a table.

Source

pub async fn set_alt_text_with_options( &self, params: &DocTablesSetAltTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetAltTextResult>

Set the alternative text description for a table.

Source

pub fn set_border<'call>( &'call self, params: &'call DocTablesSetBorderBoundParams, ) -> impl Future<Output = Result<DocTablesSetBorderResult>> + Send + 'call

Set border properties on a table or cell range.

Source

pub async fn set_border_with_options( &self, params: &DocTablesSetBorderBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetBorderResult>

Set border properties on a table or cell range.

Source

pub fn set_borders<'call>( &'call self, params: &'call DocTablesSetBordersBoundParams, ) -> impl Future<Output = Result<DocTablesSetBordersResult>> + Send + 'call

Set borders on a table using a target set or per-edge patch.

Source

pub async fn set_borders_with_options( &self, params: &DocTablesSetBordersBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetBordersResult>

Set borders on a table using a target set or per-edge patch.

Source

pub fn set_cell_padding<'call>( &'call self, params: &'call DocTablesSetCellPaddingBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellPaddingResult>> + Send + 'call

Set padding on a specific table cell or cell range.

Source

pub async fn set_cell_padding_with_options( &self, params: &DocTablesSetCellPaddingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellPaddingResult>

Set padding on a specific table cell or cell range.

Source

pub fn set_cell_properties<'call>( &'call self, params: &'call DocTablesSetCellPropertiesBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellPropertiesResult>> + Send + 'call

Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action “set_cell_text” instead.

Source

pub async fn set_cell_properties_with_options( &self, params: &DocTablesSetCellPropertiesBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellPropertiesResult>

Set non-text properties on a single table cell: vertical alignment, text wrapping, fit-text, or preferred width. Requires a cell-level target (a tableCell block address with kind, nodeType, nodeId). Does NOT accept a table target with rowIndex/columnIndex. To set the text content of a cell, use action “set_cell_text” instead.

Source

pub fn set_cell_spacing<'call>( &'call self, params: &'call DocTablesSetCellSpacingBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellSpacingResult>> + Send + 'call

Set the cell spacing for the target table.

Source

pub async fn set_cell_spacing_with_options( &self, params: &DocTablesSetCellSpacingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellSpacingResult>

Set the cell spacing for the target table.

Source

pub fn set_cell_text<'call>( &'call self, params: &'call DocTablesSetCellTextBoundParams, ) -> impl Future<Output = Result<DocTablesSetCellTextResult>> + Send + 'call

Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.

Source

pub async fn set_cell_text_with_options( &self, params: &DocTablesSetCellTextBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetCellTextResult>

Replace the text content of a single table cell with plain text (one paragraph). Accepts either a direct cell locator (a tableCell block address with kind, nodeType, nodeId) OR a table target with rowIndex + columnIndex. Cell properties (vertical alignment, shading, borders, colspan/rowspan) are preserved. Use this for filling cells with values, replacing cell text, or populating empty tables. Much simpler than walking paragraphs and runs through superdoc_edit.

Source

pub fn set_column_width<'call>( &'call self, params: &'call DocTablesSetColumnWidthBoundParams, ) -> impl Future<Output = Result<DocTablesSetColumnWidthResult>> + Send + 'call

Set the width of a table column.

Source

pub async fn set_column_width_with_options( &self, params: &DocTablesSetColumnWidthBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetColumnWidthResult>

Set the width of a table column.

Source

pub fn set_default_style<'call>( &'call self, params: &'call DocTablesSetDefaultStyleBoundParams, ) -> impl Future<Output = Result<DocTablesSetDefaultStyleResult>> + Send + 'call

Set the document-level default table style (w:defaultTableStyle in settings.xml).

Source

pub async fn set_default_style_with_options( &self, params: &DocTablesSetDefaultStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetDefaultStyleResult>

Set the document-level default table style (w:defaultTableStyle in settings.xml).

Source

pub fn set_layout<'call>( &'call self, params: &'call DocTablesSetLayoutBoundParams, ) -> impl Future<Output = Result<DocTablesSetLayoutResult>> + Send + 'call

Set the layout mode of the target table.

Source

pub async fn set_layout_with_options( &self, params: &DocTablesSetLayoutBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetLayoutResult>

Set the layout mode of the target table.

Source

pub fn set_row_height<'call>( &'call self, params: &'call DocTablesSetRowHeightBoundParams, ) -> impl Future<Output = Result<DocTablesSetRowHeightResult>> + Send + 'call

Set the height of a table row.

Source

pub async fn set_row_height_with_options( &self, params: &DocTablesSetRowHeightBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetRowHeightResult>

Set the height of a table row.

Source

pub fn set_row_options<'call>( &'call self, params: &'call DocTablesSetRowOptionsBoundParams, ) -> impl Future<Output = Result<DocTablesSetRowOptionsResult>> + Send + 'call

Set options on a table row such as header repeat or page break.

Source

pub async fn set_row_options_with_options( &self, params: &DocTablesSetRowOptionsBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetRowOptionsResult>

Set options on a table row such as header repeat or page break.

Source

pub fn set_shading<'call>( &'call self, params: &'call DocTablesSetShadingBoundParams, ) -> impl Future<Output = Result<DocTablesSetShadingResult>> + Send + 'call

Set the background shading color on a table or cell range.

Source

pub async fn set_shading_with_options( &self, params: &DocTablesSetShadingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetShadingResult>

Set the background shading color on a table or cell range.

Source

pub fn set_style<'call>( &'call self, params: &'call DocTablesSetStyleBoundParams, ) -> impl Future<Output = Result<DocTablesSetStyleResult>> + Send + 'call

Apply a named table style to the target table, or clear the style when styleId is omitted.

Source

pub async fn set_style_with_options( &self, params: &DocTablesSetStyleBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetStyleResult>

Apply a named table style to the target table, or clear the style when styleId is omitted.

Source

pub fn set_style_option<'call>( &'call self, params: &'call DocTablesSetStyleOptionBoundParams, ) -> impl Future<Output = Result<DocTablesSetStyleOptionResult>> + Send + 'call

Toggle a conditional style option such as banded rows or first column.

Source

pub async fn set_style_option_with_options( &self, params: &DocTablesSetStyleOptionBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetStyleOptionResult>

Toggle a conditional style option such as banded rows or first column.

Source

pub fn set_table_options<'call>( &'call self, params: &'call DocTablesSetTableOptionsBoundParams, ) -> impl Future<Output = Result<DocTablesSetTableOptionsResult>> + Send + 'call

Set table-level default cell margins and/or cell spacing.

Source

pub async fn set_table_options_with_options( &self, params: &DocTablesSetTableOptionsBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetTableOptionsResult>

Set table-level default cell margins and/or cell spacing.

Source

pub fn set_table_padding<'call>( &'call self, params: &'call DocTablesSetTablePaddingBoundParams, ) -> impl Future<Output = Result<DocTablesSetTablePaddingResult>> + Send + 'call

Set default cell padding for the entire table.

Source

pub async fn set_table_padding_with_options( &self, params: &DocTablesSetTablePaddingBoundParams, options: InvokeOptions, ) -> Result<DocTablesSetTablePaddingResult>

Set default cell padding for the entire table.

Source

pub fn sort<'call>( &'call self, params: &'call DocTablesSortBoundParams, ) -> impl Future<Output = Result<DocTablesSortResult>> + Send + 'call

Sort table rows by a column value.

Source

pub async fn sort_with_options( &self, params: &DocTablesSortBoundParams, options: InvokeOptions, ) -> Result<DocTablesSortResult>

Sort table rows by a column value.

Source

pub fn split<'call>( &'call self, params: &'call DocTablesSplitBoundParams, ) -> impl Future<Output = Result<DocTablesSplitResult>> + Send + 'call

Split a table into two tables at the target row.

Source

pub async fn split_with_options( &self, params: &DocTablesSplitBoundParams, options: InvokeOptions, ) -> Result<DocTablesSplitResult>

Split a table into two tables at the target row.

Source

pub fn split_cell<'call>( &'call self, params: &'call DocTablesSplitCellBoundParams, ) -> impl Future<Output = Result<DocTablesSplitCellResult>> + Send + 'call

Split a table cell into multiple cells.

Source

pub async fn split_cell_with_options( &self, params: &DocTablesSplitCellBoundParams, options: InvokeOptions, ) -> Result<DocTablesSplitCellResult>

Split a table cell into multiple cells.

Source

pub fn unmerge_cells<'call>( &'call self, params: &'call DocTablesUnmergeCellsBoundParams, ) -> impl Future<Output = Result<DocTablesUnmergeCellsResult>> + Send + 'call

Unmerge a previously merged table cell.

Source

pub async fn unmerge_cells_with_options( &self, params: &DocTablesUnmergeCellsBoundParams, options: InvokeOptions, ) -> Result<DocTablesUnmergeCellsResult>

Unmerge a previously merged table cell.

Auto Trait Implementations§

§

impl<'a, I> Freeze for DocApiTables<'a, I>
where &'a I: Freeze,

§

impl<'a, I> RefUnwindSafe for DocApiTables<'a, I>

§

impl<'a, I> Send for DocApiTables<'a, I>
where &'a I: Send,

§

impl<'a, I> Sync for DocApiTables<'a, I>
where &'a I: Sync,

§

impl<'a, I> Unpin for DocApiTables<'a, I>
where &'a I: Unpin,

§

impl<'a, I> UnsafeUnpin for DocApiTables<'a, I>

§

impl<'a, I> UnwindSafe for DocApiTables<'a, I>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.