pub struct WaterfallChartCustomSubtotal {
pub data_is_subtotal: Option<bool>,
pub subtotal_index: Option<i32>,
pub label: Option<String>,
}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.
subtotal_index: Option<i32>The 0-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.
label: Option<String>A label for the subtotal column.
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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