[][src]Struct google_sheets4::DuplicateSheetRequest

pub struct DuplicateSheetRequest {
    pub new_sheet_name: Option<String>,
    pub insert_sheet_index: Option<i32>,
    pub source_sheet_id: Option<i32>,
    pub new_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

new_sheet_name: Option<String>

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

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.

source_sheet_id: Option<i32>

The sheet to duplicate.

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.

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