[][src]Struct google_sheets4::MoveDimensionRequest

pub struct MoveDimensionRequest {
    pub source: Option<DimensionRange>,
    pub destination_index: Option<i32>,
}

Moves one or more rows or columns.

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

Fields

source: Option<DimensionRange>

The source dimensions to move.

destination_index: Option<i32>

The zero-based start index of where to move the source data to, based on the coordinates before the source data is removed from the grid. Existing data will be shifted down or right (depending on the dimension) to make room for the moved dimensions. The source dimensions are removed from the grid, so the the data may end up in a different index than specified.

For example, given A1..A5 of 0, 1, 2, 3, 4 and wanting to move "1" and "2" to between "3" and "4", the source would be ROWS [1..3),and the destination index would be "4" (the zero-based index of row 5). The end result would be A1..A5 of 0, 3, 1, 2, 4.

Trait Implementations

impl Clone for MoveDimensionRequest[src]

impl Debug for MoveDimensionRequest[src]

impl Default for MoveDimensionRequest[src]

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

impl Part for MoveDimensionRequest[src]

impl Serialize for MoveDimensionRequest[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