Struct google_sheets4::api::DuplicateSheetRequest[][src]

pub struct DuplicateSheetRequest {
    pub insert_sheet_index: Option<i32>,
    pub new_sheet_id: Option<i32>,
    pub new_sheet_name: Option<String>,
    pub source_sheet_id: Option<i32>,
}

Duplicates the contents of a sheet.

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

Fields

insert_sheet_index: Option<i32>

The zero-based index where the new sheet should be inserted. The index of all sheets after this are incremented.

new_sheet_id: Option<i32>

If set, the ID of the new sheet. If not set, an ID is chosen. If set, the ID must not conflict with any existing sheet ID. If set, it must be non-negative.

new_sheet_name: Option<String>

The name of the new sheet. If empty, a new name is chosen for you.

source_sheet_id: Option<i32>

The sheet to duplicate. If the source sheet is of DATA_SOURCE type, its backing DataSource is also duplicated and associated with the new copy of the sheet. No data execution is triggered, the grid data of this sheet is also copied over but only available after the batch request completes.

Trait Implementations

impl Clone for DuplicateSheetRequest[src]

impl Debug for DuplicateSheetRequest[src]

impl Default for DuplicateSheetRequest[src]

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

impl Part for DuplicateSheetRequest[src]

impl Serialize for DuplicateSheetRequest[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> Instrument 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.