#[non_exhaustive]pub struct BarChartAggregatedFieldWells {
pub category: Option<Vec<DimensionField>>,
pub values: Option<Vec<MeasureField>>,
pub colors: Option<Vec<DimensionField>>,
pub small_multiples: Option<Vec<DimensionField>>,
}
Expand description
The aggregated field wells of a bar chart.
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.category: Option<Vec<DimensionField>>
The category (y-axis) field well of a bar chart.
values: Option<Vec<MeasureField>>
The value field wells of a bar chart. Values are aggregated by category.
colors: Option<Vec<DimensionField>>
The color (group/color) field well of a bar chart.
small_multiples: Option<Vec<DimensionField>>
The small multiples field well of a bar chart.
Implementations§
source§impl BarChartAggregatedFieldWells
impl BarChartAggregatedFieldWells
sourcepub fn category(&self) -> &[DimensionField]
pub fn category(&self) -> &[DimensionField]
The category (y-axis) field well of a bar chart.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .category.is_none()
.
sourcepub fn values(&self) -> &[MeasureField]
pub fn values(&self) -> &[MeasureField]
The value field wells of a bar chart. Values are aggregated by category.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none()
.
sourcepub fn colors(&self) -> &[DimensionField]
pub fn colors(&self) -> &[DimensionField]
The color (group/color) field well of a bar chart.
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()
.
sourcepub fn small_multiples(&self) -> &[DimensionField]
pub fn small_multiples(&self) -> &[DimensionField]
The small multiples field well of a bar chart.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .small_multiples.is_none()
.
source§impl BarChartAggregatedFieldWells
impl BarChartAggregatedFieldWells
sourcepub fn builder() -> BarChartAggregatedFieldWellsBuilder
pub fn builder() -> BarChartAggregatedFieldWellsBuilder
Creates a new builder-style object to manufacture BarChartAggregatedFieldWells
.
Trait Implementations§
source§impl Clone for BarChartAggregatedFieldWells
impl Clone for BarChartAggregatedFieldWells
source§fn clone(&self) -> BarChartAggregatedFieldWells
fn clone(&self) -> BarChartAggregatedFieldWells
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BarChartAggregatedFieldWells
impl Debug for BarChartAggregatedFieldWells
source§impl PartialEq for BarChartAggregatedFieldWells
impl PartialEq for BarChartAggregatedFieldWells
source§fn eq(&self, other: &BarChartAggregatedFieldWells) -> bool
fn eq(&self, other: &BarChartAggregatedFieldWells) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BarChartAggregatedFieldWells
Auto Trait Implementations§
impl Freeze for BarChartAggregatedFieldWells
impl RefUnwindSafe for BarChartAggregatedFieldWells
impl Send for BarChartAggregatedFieldWells
impl Sync for BarChartAggregatedFieldWells
impl Unpin for BarChartAggregatedFieldWells
impl UnwindSafe for BarChartAggregatedFieldWells
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> 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