pub struct PivotConfig {
pub title: Option<String>,
pub row_groups: Vec<String>,
pub column_groups: Vec<String>,
pub aggregations: Vec<AggregateFunction>,
pub value_columns: Vec<String>,
pub show_totals: bool,
pub show_subtotals: bool,
}Expand description
Pivot table configuration
Fields§
§title: Option<String>Table title
row_groups: Vec<String>Columns to group by (rows)
column_groups: Vec<String>Columns to group by (columns)
aggregations: Vec<AggregateFunction>Aggregation functions to apply
value_columns: Vec<String>Columns to aggregate
show_totals: boolWhether to show totals
show_subtotals: boolWhether to show subtotals
Trait Implementations§
Source§impl Clone for PivotConfig
impl Clone for PivotConfig
Source§fn clone(&self) -> PivotConfig
fn clone(&self) -> PivotConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PivotConfig
impl Debug for PivotConfig
Auto Trait Implementations§
impl Freeze for PivotConfig
impl RefUnwindSafe for PivotConfig
impl Send for PivotConfig
impl Sync for PivotConfig
impl Unpin for PivotConfig
impl UnwindSafe for PivotConfig
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
Mutably borrows from an owned value. Read more