Struct Request

Source
pub struct Request {
Show 66 fields pub add_banding: Option<AddBandingRequest>, pub add_chart: Option<AddChartRequest>, pub add_conditional_format_rule: Option<AddConditionalFormatRuleRequest>, pub add_data_source: Option<AddDataSourceRequest>, pub add_dimension_group: Option<AddDimensionGroupRequest>, pub add_filter_view: Option<AddFilterViewRequest>, pub add_named_range: Option<AddNamedRangeRequest>, pub add_protected_range: Option<AddProtectedRangeRequest>, pub add_sheet: Option<AddSheetRequest>, pub add_slicer: Option<AddSlicerRequest>, pub append_cells: Option<AppendCellsRequest>, pub append_dimension: Option<AppendDimensionRequest>, pub auto_fill: Option<AutoFillRequest>, pub auto_resize_dimensions: Option<AutoResizeDimensionsRequest>, pub cancel_data_source_refresh: Option<CancelDataSourceRefreshRequest>, pub clear_basic_filter: Option<ClearBasicFilterRequest>, pub copy_paste: Option<CopyPasteRequest>, pub create_developer_metadata: Option<CreateDeveloperMetadataRequest>, pub cut_paste: Option<CutPasteRequest>, pub delete_banding: Option<DeleteBandingRequest>, pub delete_conditional_format_rule: Option<DeleteConditionalFormatRuleRequest>, pub delete_data_source: Option<DeleteDataSourceRequest>, pub delete_developer_metadata: Option<DeleteDeveloperMetadataRequest>, pub delete_dimension: Option<DeleteDimensionRequest>, pub delete_dimension_group: Option<DeleteDimensionGroupRequest>, pub delete_duplicates: Option<DeleteDuplicatesRequest>, pub delete_embedded_object: Option<DeleteEmbeddedObjectRequest>, pub delete_filter_view: Option<DeleteFilterViewRequest>, pub delete_named_range: Option<DeleteNamedRangeRequest>, pub delete_protected_range: Option<DeleteProtectedRangeRequest>, pub delete_range: Option<DeleteRangeRequest>, pub delete_sheet: Option<DeleteSheetRequest>, pub duplicate_filter_view: Option<DuplicateFilterViewRequest>, pub duplicate_sheet: Option<DuplicateSheetRequest>, pub find_replace: Option<FindReplaceRequest>, pub insert_dimension: Option<InsertDimensionRequest>, pub insert_range: Option<InsertRangeRequest>, pub merge_cells: Option<MergeCellsRequest>, pub move_dimension: Option<MoveDimensionRequest>, pub paste_data: Option<PasteDataRequest>, pub randomize_range: Option<RandomizeRangeRequest>, pub refresh_data_source: Option<RefreshDataSourceRequest>, pub repeat_cell: Option<RepeatCellRequest>, pub set_basic_filter: Option<SetBasicFilterRequest>, pub set_data_validation: Option<SetDataValidationRequest>, pub sort_range: Option<SortRangeRequest>, pub text_to_columns: Option<TextToColumnsRequest>, pub trim_whitespace: Option<TrimWhitespaceRequest>, pub unmerge_cells: Option<UnmergeCellsRequest>, pub update_banding: Option<UpdateBandingRequest>, pub update_borders: Option<UpdateBordersRequest>, pub update_cells: Option<UpdateCellsRequest>, pub update_chart_spec: Option<UpdateChartSpecRequest>, pub update_conditional_format_rule: Option<UpdateConditionalFormatRuleRequest>, pub update_data_source: Option<UpdateDataSourceRequest>, pub update_developer_metadata: Option<UpdateDeveloperMetadataRequest>, pub update_dimension_group: Option<UpdateDimensionGroupRequest>, pub update_dimension_properties: Option<UpdateDimensionPropertiesRequest>, pub update_embedded_object_border: Option<UpdateEmbeddedObjectBorderRequest>, pub update_embedded_object_position: Option<UpdateEmbeddedObjectPositionRequest>, pub update_filter_view: Option<UpdateFilterViewRequest>, pub update_named_range: Option<UpdateNamedRangeRequest>, pub update_protected_range: Option<UpdateProtectedRangeRequest>, pub update_sheet_properties: Option<UpdateSheetPropertiesRequest>, pub update_slicer_spec: Option<UpdateSlicerSpecRequest>, pub update_spreadsheet_properties: Option<UpdateSpreadsheetPropertiesRequest>,
}
Expand description

A single kind of update to apply to a spreadsheet.

This type is not used in any activity, and only used as part of another schema.

Fields§

§add_banding: Option<AddBandingRequest>

Adds a new banded range

§add_chart: Option<AddChartRequest>

Adds a chart.

§add_conditional_format_rule: Option<AddConditionalFormatRuleRequest>

Adds a new conditional format rule.

§add_data_source: Option<AddDataSourceRequest>

Adds a data source.

§add_dimension_group: Option<AddDimensionGroupRequest>

Creates a group over the specified range.

§add_filter_view: Option<AddFilterViewRequest>

Adds a filter view.

§add_named_range: Option<AddNamedRangeRequest>

Adds a named range.

§add_protected_range: Option<AddProtectedRangeRequest>

Adds a protected range.

§add_sheet: Option<AddSheetRequest>

Adds a sheet.

§add_slicer: Option<AddSlicerRequest>

Adds a slicer.

§append_cells: Option<AppendCellsRequest>

Appends cells after the last row with data in a sheet.

§append_dimension: Option<AppendDimensionRequest>

Appends dimensions to the end of a sheet.

§auto_fill: Option<AutoFillRequest>

Automatically fills in more data based on existing data.

§auto_resize_dimensions: Option<AutoResizeDimensionsRequest>

Automatically resizes one or more dimensions based on the contents of the cells in that dimension.

§cancel_data_source_refresh: Option<CancelDataSourceRefreshRequest>

Cancels refreshes of one or multiple data sources and associated dbobjects.

§clear_basic_filter: Option<ClearBasicFilterRequest>

Clears the basic filter on a sheet.

§copy_paste: Option<CopyPasteRequest>

Copies data from one area and pastes it to another.

§create_developer_metadata: Option<CreateDeveloperMetadataRequest>

Creates new developer metadata

§cut_paste: Option<CutPasteRequest>

Cuts data from one area and pastes it to another.

§delete_banding: Option<DeleteBandingRequest>

Removes a banded range

§delete_conditional_format_rule: Option<DeleteConditionalFormatRuleRequest>

Deletes an existing conditional format rule.

§delete_data_source: Option<DeleteDataSourceRequest>

Deletes a data source.

§delete_developer_metadata: Option<DeleteDeveloperMetadataRequest>

Deletes developer metadata

§delete_dimension: Option<DeleteDimensionRequest>

Deletes rows or columns in a sheet.

§delete_dimension_group: Option<DeleteDimensionGroupRequest>

Deletes a group over the specified range.

§delete_duplicates: Option<DeleteDuplicatesRequest>

Removes rows containing duplicate values in specified columns of a cell range.

§delete_embedded_object: Option<DeleteEmbeddedObjectRequest>

Deletes an embedded object (e.g, chart, image) in a sheet.

§delete_filter_view: Option<DeleteFilterViewRequest>

Deletes a filter view from a sheet.

§delete_named_range: Option<DeleteNamedRangeRequest>

Deletes a named range.

§delete_protected_range: Option<DeleteProtectedRangeRequest>

Deletes a protected range.

§delete_range: Option<DeleteRangeRequest>

Deletes a range of cells from a sheet, shifting the remaining cells.

§delete_sheet: Option<DeleteSheetRequest>

Deletes a sheet.

§duplicate_filter_view: Option<DuplicateFilterViewRequest>

Duplicates a filter view.

§duplicate_sheet: Option<DuplicateSheetRequest>

Duplicates a sheet.

§find_replace: Option<FindReplaceRequest>

Finds and replaces occurrences of some text with other text.

§insert_dimension: Option<InsertDimensionRequest>

Inserts new rows or columns in a sheet.

§insert_range: Option<InsertRangeRequest>

Inserts new cells in a sheet, shifting the existing cells.

§merge_cells: Option<MergeCellsRequest>

Merges cells together.

§move_dimension: Option<MoveDimensionRequest>

Moves rows or columns to another location in a sheet.

§paste_data: Option<PasteDataRequest>

Pastes data (HTML or delimited) into a sheet.

§randomize_range: Option<RandomizeRangeRequest>

Randomizes the order of the rows in a range.

§refresh_data_source: Option<RefreshDataSourceRequest>

Refreshes one or multiple data sources and associated dbobjects.

§repeat_cell: Option<RepeatCellRequest>

Repeats a single cell across a range.

§set_basic_filter: Option<SetBasicFilterRequest>

Sets the basic filter on a sheet.

§set_data_validation: Option<SetDataValidationRequest>

Sets data validation for one or more cells.

§sort_range: Option<SortRangeRequest>

Sorts data in a range.

§text_to_columns: Option<TextToColumnsRequest>

Converts a column of text into many columns of text.

§trim_whitespace: Option<TrimWhitespaceRequest>

Trims cells of whitespace (such as spaces, tabs, or new lines).

§unmerge_cells: Option<UnmergeCellsRequest>

Unmerges merged cells.

§update_banding: Option<UpdateBandingRequest>

Updates a banded range

§update_borders: Option<UpdateBordersRequest>

Updates the borders in a range of cells.

§update_cells: Option<UpdateCellsRequest>

Updates many cells at once.

§update_chart_spec: Option<UpdateChartSpecRequest>

Updates a chart’s specifications.

§update_conditional_format_rule: Option<UpdateConditionalFormatRuleRequest>

Updates an existing conditional format rule.

§update_data_source: Option<UpdateDataSourceRequest>

Updates a data source.

§update_developer_metadata: Option<UpdateDeveloperMetadataRequest>

Updates an existing developer metadata entry

§update_dimension_group: Option<UpdateDimensionGroupRequest>

Updates the state of the specified group.

§update_dimension_properties: Option<UpdateDimensionPropertiesRequest>

Updates dimensions’ properties.

§update_embedded_object_border: Option<UpdateEmbeddedObjectBorderRequest>

Updates an embedded object’s border.

§update_embedded_object_position: Option<UpdateEmbeddedObjectPositionRequest>

Updates an embedded object’s (e.g. chart, image) position.

§update_filter_view: Option<UpdateFilterViewRequest>

Updates the properties of a filter view.

§update_named_range: Option<UpdateNamedRangeRequest>

Updates a named range.

§update_protected_range: Option<UpdateProtectedRangeRequest>

Updates a protected range.

§update_sheet_properties: Option<UpdateSheetPropertiesRequest>

Updates a sheet’s properties.

§update_slicer_spec: Option<UpdateSlicerSpecRequest>

Updates a slicer’s specifications.

§update_spreadsheet_properties: Option<UpdateSpreadsheetPropertiesRequest>

Updates the spreadsheet’s properties.

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,