pub struct Request {Show 33 fields
pub create_footer: Option<CreateFooterRequest>,
pub create_footnote: Option<CreateFootnoteRequest>,
pub create_header: Option<CreateHeaderRequest>,
pub create_named_range: Option<CreateNamedRangeRequest>,
pub create_paragraph_bullets: Option<CreateParagraphBulletsRequest>,
pub delete_content_range: Option<DeleteContentRangeRequest>,
pub delete_footer: Option<DeleteFooterRequest>,
pub delete_header: Option<DeleteHeaderRequest>,
pub delete_named_range: Option<DeleteNamedRangeRequest>,
pub delete_paragraph_bullets: Option<DeleteParagraphBulletsRequest>,
pub delete_positioned_object: Option<DeletePositionedObjectRequest>,
pub delete_table_column: Option<DeleteTableColumnRequest>,
pub delete_table_row: Option<DeleteTableRowRequest>,
pub insert_inline_image: Option<InsertInlineImageRequest>,
pub insert_page_break: Option<InsertPageBreakRequest>,
pub insert_section_break: Option<InsertSectionBreakRequest>,
pub insert_table: Option<InsertTableRequest>,
pub insert_table_column: Option<InsertTableColumnRequest>,
pub insert_table_row: Option<InsertTableRowRequest>,
pub insert_text: Option<InsertTextRequest>,
pub merge_table_cells: Option<MergeTableCellsRequest>,
pub pin_table_header_rows: Option<PinTableHeaderRowsRequest>,
pub replace_all_text: Option<ReplaceAllTextRequest>,
pub replace_image: Option<ReplaceImageRequest>,
pub replace_named_range_content: Option<ReplaceNamedRangeContentRequest>,
pub unmerge_table_cells: Option<UnmergeTableCellsRequest>,
pub update_document_style: Option<UpdateDocumentStyleRequest>,
pub update_paragraph_style: Option<UpdateParagraphStyleRequest>,
pub update_section_style: Option<UpdateSectionStyleRequest>,
pub update_table_cell_style: Option<UpdateTableCellStyleRequest>,
pub update_table_column_properties: Option<UpdateTableColumnPropertiesRequest>,
pub update_table_row_style: Option<UpdateTableRowStyleRequest>,
pub update_text_style: Option<UpdateTextStyleRequest>,
}
Expand description
A single update to apply to a document.
This type is not used in any activity, and only used as part of another schema.
Fields§
Creates a footer.
create_footnote: Option<CreateFootnoteRequest>
Creates a footnote.
create_header: Option<CreateHeaderRequest>
Creates a header.
create_named_range: Option<CreateNamedRangeRequest>
Creates a named range.
create_paragraph_bullets: Option<CreateParagraphBulletsRequest>
Creates bullets for paragraphs.
delete_content_range: Option<DeleteContentRangeRequest>
Deletes content from the document.
Deletes a footer from the document.
delete_header: Option<DeleteHeaderRequest>
Deletes a header from the document.
delete_named_range: Option<DeleteNamedRangeRequest>
Deletes a named range.
delete_paragraph_bullets: Option<DeleteParagraphBulletsRequest>
Deletes bullets from paragraphs.
delete_positioned_object: Option<DeletePositionedObjectRequest>
Deletes a positioned object from the document.
delete_table_column: Option<DeleteTableColumnRequest>
Deletes a column from a table.
delete_table_row: Option<DeleteTableRowRequest>
Deletes a row from a table.
insert_inline_image: Option<InsertInlineImageRequest>
Inserts an inline image at the specified location.
insert_page_break: Option<InsertPageBreakRequest>
Inserts a page break at the specified location.
insert_section_break: Option<InsertSectionBreakRequest>
Inserts a section break at the specified location.
insert_table: Option<InsertTableRequest>
Inserts a table at the specified location.
insert_table_column: Option<InsertTableColumnRequest>
Inserts an empty column into a table.
insert_table_row: Option<InsertTableRowRequest>
Inserts an empty row into a table.
insert_text: Option<InsertTextRequest>
Inserts text at the specified location.
merge_table_cells: Option<MergeTableCellsRequest>
Merges cells in a table.
pin_table_header_rows: Option<PinTableHeaderRowsRequest>
Updates the number of pinned header rows in a table.
replace_all_text: Option<ReplaceAllTextRequest>
Replaces all instances of the specified text.
replace_image: Option<ReplaceImageRequest>
Replaces an image in the document.
replace_named_range_content: Option<ReplaceNamedRangeContentRequest>
Replaces the content in a named range.
unmerge_table_cells: Option<UnmergeTableCellsRequest>
Unmerges cells in a table.
update_document_style: Option<UpdateDocumentStyleRequest>
Updates the style of the document.
update_paragraph_style: Option<UpdateParagraphStyleRequest>
Updates the paragraph style at the specified range.
update_section_style: Option<UpdateSectionStyleRequest>
Updates the section style of the specified range.
update_table_cell_style: Option<UpdateTableCellStyleRequest>
Updates the style of table cells.
update_table_column_properties: Option<UpdateTableColumnPropertiesRequest>
Updates the properties of columns in a table.
update_table_row_style: Option<UpdateTableRowStyleRequest>
Updates the row style in a table.
update_text_style: Option<UpdateTextStyleRequest>
Updates the text style at the specified range.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Request
impl<'de> Deserialize<'de> for Request
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnwindSafe for Request
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more