pub struct PivotTableConfig {
pub name: String,
pub source_sheet: String,
pub source_range: String,
pub target_sheet: String,
pub target_cell: String,
pub rows: Vec<PivotField>,
pub columns: Vec<PivotField>,
pub data: Vec<PivotDataField>,
}Expand description
Configuration for adding a pivot table.
Fields§
§name: StringName of the pivot table.
source_sheet: StringSource data sheet name.
source_range: StringSource data range (e.g., “A1:D10”).
target_sheet: StringTarget sheet name where the pivot table will be placed.
target_cell: StringTarget cell (top-left corner of pivot table, e.g., “A1”).
rows: Vec<PivotField>Row fields (column names from source data).
columns: Vec<PivotField>Column fields.
data: Vec<PivotDataField>Data/value fields.
Trait Implementations§
Source§impl Clone for PivotTableConfig
impl Clone for PivotTableConfig
Source§fn clone(&self) -> PivotTableConfig
fn clone(&self) -> PivotTableConfig
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 moreAuto Trait Implementations§
impl Freeze for PivotTableConfig
impl RefUnwindSafe for PivotTableConfig
impl Send for PivotTableConfig
impl Sync for PivotTableConfig
impl Unpin for PivotTableConfig
impl UnwindSafe for PivotTableConfig
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