Struct google_sheets4::Request

source ·
pub struct Request {
Show 56 fields pub duplicate_filter_view: Option<DuplicateFilterViewRequest>, pub sort_range: Option<SortRangeRequest>, pub update_embedded_object_position: Option<UpdateEmbeddedObjectPositionRequest>, pub update_conditional_format_rule: Option<UpdateConditionalFormatRuleRequest>, pub update_dimension_group: Option<UpdateDimensionGroupRequest>, pub delete_dimension: Option<DeleteDimensionRequest>, pub cut_paste: Option<CutPasteRequest>, pub create_developer_metadata: Option<CreateDeveloperMetadataRequest>, pub delete_embedded_object: Option<DeleteEmbeddedObjectRequest>, pub paste_data: Option<PasteDataRequest>, pub append_cells: Option<AppendCellsRequest>, pub add_named_range: Option<AddNamedRangeRequest>, pub duplicate_sheet: Option<DuplicateSheetRequest>, pub update_sheet_properties: Option<UpdateSheetPropertiesRequest>, pub add_chart: Option<AddChartRequest>, pub add_conditional_format_rule: Option<AddConditionalFormatRuleRequest>, pub delete_banding: Option<DeleteBandingRequest>, pub repeat_cell: Option<RepeatCellRequest>, pub find_replace: Option<FindReplaceRequest>, pub randomize_range: Option<RandomizeRangeRequest>, pub set_basic_filter: Option<SetBasicFilterRequest>, pub update_spreadsheet_properties: Option<UpdateSpreadsheetPropertiesRequest>, pub update_cells: Option<UpdateCellsRequest>, pub auto_fill: Option<AutoFillRequest>, pub append_dimension: Option<AppendDimensionRequest>, pub update_banding: Option<UpdateBandingRequest>, pub auto_resize_dimensions: Option<AutoResizeDimensionsRequest>, pub update_dimension_properties: Option<UpdateDimensionPropertiesRequest>, pub unmerge_cells: Option<UnmergeCellsRequest>, pub delete_dimension_group: Option<DeleteDimensionGroupRequest>, pub delete_range: Option<DeleteRangeRequest>, pub clear_basic_filter: Option<ClearBasicFilterRequest>, pub text_to_columns: Option<TextToColumnsRequest>, pub update_chart_spec: Option<UpdateChartSpecRequest>, pub insert_range: Option<InsertRangeRequest>, pub update_developer_metadata: Option<UpdateDeveloperMetadataRequest>, pub move_dimension: Option<MoveDimensionRequest>, pub update_protected_range: Option<UpdateProtectedRangeRequest>, pub add_banding: Option<AddBandingRequest>, pub delete_filter_view: Option<DeleteFilterViewRequest>, pub merge_cells: Option<MergeCellsRequest>, pub delete_protected_range: Option<DeleteProtectedRangeRequest>, pub add_filter_view: Option<AddFilterViewRequest>, pub update_borders: Option<UpdateBordersRequest>, pub delete_sheet: Option<DeleteSheetRequest>, pub delete_developer_metadata: Option<DeleteDeveloperMetadataRequest>, pub add_protected_range: Option<AddProtectedRangeRequest>, pub copy_paste: Option<CopyPasteRequest>, pub add_sheet: Option<AddSheetRequest>, pub delete_named_range: Option<DeleteNamedRangeRequest>, pub update_named_range: Option<UpdateNamedRangeRequest>, pub insert_dimension: Option<InsertDimensionRequest>, pub set_data_validation: Option<SetDataValidationRequest>, pub update_filter_view: Option<UpdateFilterViewRequest>, pub delete_conditional_format_rule: Option<DeleteConditionalFormatRuleRequest>, pub add_dimension_group: Option<AddDimensionGroupRequest>,
}
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§

§duplicate_filter_view: Option<DuplicateFilterViewRequest>

Duplicates a filter view.

§sort_range: Option<SortRangeRequest>

Sorts data in a range.

§update_embedded_object_position: Option<UpdateEmbeddedObjectPositionRequest>

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

§update_conditional_format_rule: Option<UpdateConditionalFormatRuleRequest>

Updates an existing conditional format rule.

§update_dimension_group: Option<UpdateDimensionGroupRequest>

Updates the state of the specified group.

§delete_dimension: Option<DeleteDimensionRequest>

Deletes rows or columns in a sheet.

§cut_paste: Option<CutPasteRequest>

Cuts data from one area and pastes it to another.

§create_developer_metadata: Option<CreateDeveloperMetadataRequest>

Creates new developer metadata

§delete_embedded_object: Option<DeleteEmbeddedObjectRequest>

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

§paste_data: Option<PasteDataRequest>

Pastes data (HTML or delimited) into a sheet.

§append_cells: Option<AppendCellsRequest>

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

§add_named_range: Option<AddNamedRangeRequest>

Adds a named range.

§duplicate_sheet: Option<DuplicateSheetRequest>

Duplicates a sheet.

§update_sheet_properties: Option<UpdateSheetPropertiesRequest>

Updates a sheet’s properties.

§add_chart: Option<AddChartRequest>

Adds a chart.

§add_conditional_format_rule: Option<AddConditionalFormatRuleRequest>

Adds a new conditional format rule.

§delete_banding: Option<DeleteBandingRequest>

Removes a banded range

§repeat_cell: Option<RepeatCellRequest>

Repeats a single cell across a range.

§find_replace: Option<FindReplaceRequest>

Finds and replaces occurrences of some text with other text.

§randomize_range: Option<RandomizeRangeRequest>

Randomizes the order of the rows in a range.

§set_basic_filter: Option<SetBasicFilterRequest>

Sets the basic filter on a sheet.

§update_spreadsheet_properties: Option<UpdateSpreadsheetPropertiesRequest>

Updates the spreadsheet’s properties.

§update_cells: Option<UpdateCellsRequest>

Updates many cells at once.

§auto_fill: Option<AutoFillRequest>

Automatically fills in more data based on existing data.

§append_dimension: Option<AppendDimensionRequest>

Appends dimensions to the end of a sheet.

§update_banding: Option<UpdateBandingRequest>

Updates a banded range

§auto_resize_dimensions: Option<AutoResizeDimensionsRequest>

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

§update_dimension_properties: Option<UpdateDimensionPropertiesRequest>

Updates dimensions’ properties.

§unmerge_cells: Option<UnmergeCellsRequest>

Unmerges merged cells.

§delete_dimension_group: Option<DeleteDimensionGroupRequest>

Deletes a group over the specified range.

§delete_range: Option<DeleteRangeRequest>

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

§clear_basic_filter: Option<ClearBasicFilterRequest>

Clears the basic filter on a sheet.

§text_to_columns: Option<TextToColumnsRequest>

Converts a column of text into many columns of text.

§update_chart_spec: Option<UpdateChartSpecRequest>

Updates a chart’s specifications.

§insert_range: Option<InsertRangeRequest>

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

§update_developer_metadata: Option<UpdateDeveloperMetadataRequest>

Updates an existing developer metadata entry

§move_dimension: Option<MoveDimensionRequest>

Moves rows or columns to another location in a sheet.

§update_protected_range: Option<UpdateProtectedRangeRequest>

Updates a protected range.

§add_banding: Option<AddBandingRequest>

Adds a new banded range

§delete_filter_view: Option<DeleteFilterViewRequest>

Deletes a filter view from a sheet.

§merge_cells: Option<MergeCellsRequest>

Merges cells together.

§delete_protected_range: Option<DeleteProtectedRangeRequest>

Deletes a protected range.

§add_filter_view: Option<AddFilterViewRequest>

Adds a filter view.

§update_borders: Option<UpdateBordersRequest>

Updates the borders in a range of cells.

§delete_sheet: Option<DeleteSheetRequest>

Deletes a sheet.

§delete_developer_metadata: Option<DeleteDeveloperMetadataRequest>

Deletes developer metadata

§add_protected_range: Option<AddProtectedRangeRequest>

Adds a protected range.

§copy_paste: Option<CopyPasteRequest>

Copies data from one area and pastes it to another.

§add_sheet: Option<AddSheetRequest>

Adds a sheet.

§delete_named_range: Option<DeleteNamedRangeRequest>

Deletes a named range.

§update_named_range: Option<UpdateNamedRangeRequest>

Updates a named range.

§insert_dimension: Option<InsertDimensionRequest>

Inserts new rows or columns in a sheet.

§set_data_validation: Option<SetDataValidationRequest>

Sets data validation for one or more cells.

§update_filter_view: Option<UpdateFilterViewRequest>

Updates the properties of a filter view.

§delete_conditional_format_rule: Option<DeleteConditionalFormatRuleRequest>

Deletes an existing conditional format rule.

§add_dimension_group: Option<AddDimensionGroupRequest>

Creates a group over 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§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> 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,

§

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>,

§

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>,

§

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> Typeable for T
where T: Any,

source§

fn get_type(&self) -> TypeId

Get the TypeId of this object.
source§

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