Struct google_sheets4::api::MoveDimensionRequest[][src]

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

Moves one or more rows or columns.

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

Fields

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.

source: Option<DimensionRange>

The source dimensions to move.

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

impl RefUnwindSafe for MoveDimensionRequest[src]

impl Send for MoveDimensionRequest[src]

impl Sync for MoveDimensionRequest[src]

impl Unpin for MoveDimensionRequest[src]

impl UnwindSafe for MoveDimensionRequest[src]

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.