[][src]Struct google_sheets4::InsertDimensionRequest

pub struct InsertDimensionRequest {
    pub inherit_from_before: Option<bool>,
    pub range: Option<DimensionRange>,
}

Inserts rows or columns in a sheet at a particular index.

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

Fields

inherit_from_before: Option<bool>

Whether dimension properties should be extended from the dimensions before or after the newly inserted dimensions. True to inherit from the dimensions before (in which case the start index must be greater than 0), and false to inherit from the dimensions after.

For example, if row index 0 has red background and row index 1 has a green background, then inserting 2 rows at index 1 can inherit either the green or red background. If inheritFromBefore is true, the two new rows will be red (because the row before the insertion point was red), whereas if inheritFromBefore is false, the two new rows will be green (because the row after the insertion point was green).

range: Option<DimensionRange>

The dimensions to insert. Both the start and end indexes must be bounded.

Trait Implementations

impl Part for InsertDimensionRequest[src]

impl Clone for InsertDimensionRequest[src]

impl Default for InsertDimensionRequest[src]

impl Debug for InsertDimensionRequest[src]

impl Serialize for InsertDimensionRequest[src]

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

Auto Trait Implementations

Blanket Implementations

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 = !

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> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

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