pub struct InsertDimensionRequest {
pub inherit_from_before: Option<bool>,
pub range: Option<DimensionRange>,
}
Expand description
Inserts rows or columns in a sheet at a particular index.
This type is not used in any activity, and only used as part of another schema.
Fields§
§inherit_from_before: Option<bool>
Whether dimension properties should be extended from the dimensions before or after the newly inserted dimensions. True to inherit from the dimensions before (in which case the start index must be greater than 0), and false to inherit from the dimensions after. For example, if row index 0 has red background and row index 1 has a green background, then inserting 2 rows at index 1 can inherit either the green or red background. If inheritFromBefore
is true, the two new rows will be red (because the row before the insertion point was red), whereas if inheritFromBefore
is false, the two new rows will be green (because the row after the insertion point was green).
range: Option<DimensionRange>
The dimensions to insert. Both the start and end indexes must be bounded.
Trait Implementations§
Source§impl Clone for InsertDimensionRequest
impl Clone for InsertDimensionRequest
Source§fn clone(&self) -> InsertDimensionRequest
fn clone(&self) -> InsertDimensionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InsertDimensionRequest
impl Debug for InsertDimensionRequest
Source§impl Default for InsertDimensionRequest
impl Default for InsertDimensionRequest
Source§fn default() -> InsertDimensionRequest
fn default() -> InsertDimensionRequest
Source§impl<'de> Deserialize<'de> for InsertDimensionRequest
impl<'de> Deserialize<'de> for InsertDimensionRequest
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 InsertDimensionRequest
impl Serialize for InsertDimensionRequest
impl Part for InsertDimensionRequest
Auto Trait Implementations§
impl Freeze for InsertDimensionRequest
impl RefUnwindSafe for InsertDimensionRequest
impl Send for InsertDimensionRequest
impl Sync for InsertDimensionRequest
impl Unpin for InsertDimensionRequest
impl UnwindSafe for InsertDimensionRequest
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