pub struct WaterfallChartCustomSubtotal {
pub data_is_subtotal: Option<bool>,
pub label: Option<String>,
pub subtotal_index: Option<i32>,
}
Expand description
A custom subtotal column for a waterfall chart series.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data_is_subtotal: Option<bool>
True if the data point at subtotal_index is the subtotal. If false, the subtotal will be computed and appear after the data point.
label: Option<String>
A label for the subtotal column.
subtotal_index: Option<i32>
The zero-based index of a data point within the series. If data_is_subtotal is true, the data point at this index is the subtotal. Otherwise, the subtotal appears after the data point with this index. A series can have multiple subtotals at arbitrary indices, but subtotals do not affect the indices of the data points. For example, if a series has three data points, their indices will always be 0, 1, and 2, regardless of how many subtotals exist on the series or what data points they are associated with.
Trait Implementations§
Source§impl Clone for WaterfallChartCustomSubtotal
impl Clone for WaterfallChartCustomSubtotal
Source§fn clone(&self) -> WaterfallChartCustomSubtotal
fn clone(&self) -> WaterfallChartCustomSubtotal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for WaterfallChartCustomSubtotal
impl Debug for WaterfallChartCustomSubtotal
Source§impl Default for WaterfallChartCustomSubtotal
impl Default for WaterfallChartCustomSubtotal
Source§fn default() -> WaterfallChartCustomSubtotal
fn default() -> WaterfallChartCustomSubtotal
Source§impl<'de> Deserialize<'de> for WaterfallChartCustomSubtotal
impl<'de> Deserialize<'de> for WaterfallChartCustomSubtotal
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>,
impl Part for WaterfallChartCustomSubtotal
Auto Trait Implementations§
impl Freeze for WaterfallChartCustomSubtotal
impl RefUnwindSafe for WaterfallChartCustomSubtotal
impl Send for WaterfallChartCustomSubtotal
impl Sync for WaterfallChartCustomSubtotal
impl Unpin for WaterfallChartCustomSubtotal
impl UnwindSafe for WaterfallChartCustomSubtotal
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