pub struct DimensionGroup {
pub collapsed: Option<bool>,
pub depth: Option<i32>,
pub range: Option<DimensionRange>,
}
Expand description
A group over an interval of rows or columns on a sheet, which can contain or be contained within other groups. A group can be collapsed or expanded as a unit on the sheet.
This type is not used in any activity, and only used as part of another schema.
Fields§
§collapsed: Option<bool>
This field is true if this group is collapsed. A collapsed group remains collapsed if an overlapping group at a shallower depth is expanded. A true value does not imply that all dimensions within the group are hidden, since a dimension’s visibility can change independently from this group property. However, when this property is updated, all dimensions within it are set to hidden if this field is true, or set to visible if this field is false.
depth: Option<i32>
The depth of the group, representing how many groups have a range that wholly contains the range of this group.
range: Option<DimensionRange>
The range over which this group exists.
Trait Implementations§
Source§impl Clone for DimensionGroup
impl Clone for DimensionGroup
Source§fn clone(&self) -> DimensionGroup
fn clone(&self) -> DimensionGroup
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DimensionGroup
impl Debug for DimensionGroup
Source§impl Default for DimensionGroup
impl Default for DimensionGroup
Source§fn default() -> DimensionGroup
fn default() -> DimensionGroup
Source§impl<'de> Deserialize<'de> for DimensionGroup
impl<'de> Deserialize<'de> for DimensionGroup
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 DimensionGroup
impl Serialize for DimensionGroup
impl Part for DimensionGroup
Auto Trait Implementations§
impl Freeze for DimensionGroup
impl RefUnwindSafe for DimensionGroup
impl Send for DimensionGroup
impl Sync for DimensionGroup
impl Unpin for DimensionGroup
impl UnwindSafe for DimensionGroup
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