[−][src]Struct google_sheets4::MoveDimensionRequest
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]
fn clone(&self) -> MoveDimensionRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for MoveDimensionRequest
[src]
impl Default for MoveDimensionRequest
[src]
fn default() -> MoveDimensionRequest
[src]
impl<'de> Deserialize<'de> for MoveDimensionRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for MoveDimensionRequest
[src]
impl Serialize for MoveDimensionRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for MoveDimensionRequest
impl Send for MoveDimensionRequest
impl Sync for MoveDimensionRequest
impl Unpin for MoveDimensionRequest
impl UnwindSafe for MoveDimensionRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,