Struct google_sheets4::api::InsertDimensionRequest [−][src]
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
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 InsertDimensionRequest
impl Send for InsertDimensionRequest
impl Sync for InsertDimensionRequest
impl Unpin for InsertDimensionRequest
impl UnwindSafe for InsertDimensionRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more