Struct google_sheets4::api::FindReplaceRequest[][src]

pub struct FindReplaceRequest {
    pub all_sheets: Option<bool>,
    pub find: Option<String>,
    pub include_formulas: Option<bool>,
    pub match_case: Option<bool>,
    pub match_entire_cell: Option<bool>,
    pub range: Option<GridRange>,
    pub replacement: Option<String>,
    pub search_by_regex: Option<bool>,
    pub sheet_id: Option<i32>,
}
Expand description

Finds and replaces data in cells over a range, sheet, or all sheets.

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

Fields

all_sheets: Option<bool>

True to find/replace over all sheets.

find: Option<String>

The value to search.

include_formulas: Option<bool>

True if the search should include cells with formulas. False to skip cells with formulas.

match_case: Option<bool>

True if the search is case sensitive.

match_entire_cell: Option<bool>

True if the find value should match the entire cell.

range: Option<GridRange>

The range to find/replace over.

replacement: Option<String>

The value to use as the replacement.

search_by_regex: Option<bool>

True if the find value is a regex. The regular expression and replacement should follow Java regex rules at https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html. The replacement string is allowed to refer to capturing groups. For example, if one cell has the contents "Google Sheets" and another has "Google Docs", then searching for "o.* (.*)" with a replacement of "$1 Rocks" would change the contents of the cells to "GSheets Rocks" and "GDocs Rocks" respectively.

sheet_id: Option<i32>

The sheet to find/replace over.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.