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§
Source§impl Clone for MoveDimensionRequest
impl Clone for MoveDimensionRequest
Source§fn clone(&self) -> MoveDimensionRequest
fn clone(&self) -> MoveDimensionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MoveDimensionRequest
impl Debug for MoveDimensionRequest
Source§impl Default for MoveDimensionRequest
impl Default for MoveDimensionRequest
Source§fn default() -> MoveDimensionRequest
fn default() -> MoveDimensionRequest
Source§impl<'de> Deserialize<'de> for MoveDimensionRequest
impl<'de> Deserialize<'de> for MoveDimensionRequest
Source§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>,
Source§impl Serialize for MoveDimensionRequest
impl Serialize for MoveDimensionRequest
impl Part for MoveDimensionRequest
Auto Trait Implementations§
impl Freeze for MoveDimensionRequest
impl RefUnwindSafe for MoveDimensionRequest
impl Send for MoveDimensionRequest
impl Sync for MoveDimensionRequest
impl Unpin for MoveDimensionRequest
impl UnwindSafe for MoveDimensionRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more