#[non_exhaustive]pub struct TreeMapAggregatedFieldWells {
pub groups: Option<Vec<DimensionField>>,
pub sizes: Option<Vec<MeasureField>>,
pub colors: Option<Vec<MeasureField>>,
}
Expand description
Aggregated field wells of a tree map.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.groups: Option<Vec<DimensionField>>
The group by field well of a tree map. Values are grouped based on group by fields.
sizes: Option<Vec<MeasureField>>
The size field well of a tree map. Values are aggregated based on group by fields.
colors: Option<Vec<MeasureField>>
The color field well of a tree map. Values are grouped by aggregations based on group by fields.
Implementations§
source§impl TreeMapAggregatedFieldWells
impl TreeMapAggregatedFieldWells
sourcepub fn groups(&self) -> &[DimensionField]
pub fn groups(&self) -> &[DimensionField]
The group by field well of a tree map. Values are grouped based on group by fields.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .groups.is_none()
.
sourcepub fn sizes(&self) -> &[MeasureField]
pub fn sizes(&self) -> &[MeasureField]
The size field well of a tree map. Values are aggregated based on group by fields.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sizes.is_none()
.
sourcepub fn colors(&self) -> &[MeasureField]
pub fn colors(&self) -> &[MeasureField]
The color field well of a tree map. Values are grouped by aggregations based on group by fields.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .colors.is_none()
.
source§impl TreeMapAggregatedFieldWells
impl TreeMapAggregatedFieldWells
sourcepub fn builder() -> TreeMapAggregatedFieldWellsBuilder
pub fn builder() -> TreeMapAggregatedFieldWellsBuilder
Creates a new builder-style object to manufacture TreeMapAggregatedFieldWells
.
Trait Implementations§
source§impl Clone for TreeMapAggregatedFieldWells
impl Clone for TreeMapAggregatedFieldWells
source§fn clone(&self) -> TreeMapAggregatedFieldWells
fn clone(&self) -> TreeMapAggregatedFieldWells
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TreeMapAggregatedFieldWells
impl Debug for TreeMapAggregatedFieldWells
source§impl PartialEq for TreeMapAggregatedFieldWells
impl PartialEq for TreeMapAggregatedFieldWells
source§fn eq(&self, other: &TreeMapAggregatedFieldWells) -> bool
fn eq(&self, other: &TreeMapAggregatedFieldWells) -> bool
self
and other
values to be equal, and is used
by ==
.