Struct google_sheets4::api::MoveDimensionRequest [−][src]
pub struct MoveDimensionRequest {
pub destination_index: Option<i32>,
pub source: Option<DimensionRange>,
}
Expand description
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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more