[][src]Struct google_sheets4::FindReplaceRequest

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

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

include_formulas: Option<bool>

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

match_entire_cell: Option<bool>

True if the find value should match the entire cell.

all_sheets: Option<bool>

True to find/replace over all sheets.

match_case: Option<bool>

True if the search is case sensitive.

find: Option<String>

The value to search.

range: Option<GridRange>

The range to find/replace over.

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.

replacement: Option<String>

The value to use as the replacement.

Trait Implementations

impl Clone for FindReplaceRequest[src]

impl Debug for FindReplaceRequest[src]

impl Default for FindReplaceRequest[src]

impl<'de> Deserialize<'de> for FindReplaceRequest[src]

impl Part for FindReplaceRequest[src]

impl Serialize for FindReplaceRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any