Struct Request

Source
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§

§create_footer: Option<CreateFooterRequest>

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.

§delete_footer: Option<DeleteFooterRequest>

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 Clone for Request

Source§

fn clone(&self) -> Request

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Request

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Request

Source§

fn default() -> Request

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for Request

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Request

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Part for Request

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,