pub struct PivotTable {Show 14 fields
pub id: u64,
pub name: String,
pub source: PivotSource,
pub dest_sheet_id: u64,
pub dest_row: usize,
pub dest_col: usize,
pub row_fields: Vec<PivotField>,
pub col_fields: Vec<PivotField>,
pub value_fields: Vec<PivotValueField>,
pub filter_fields: Vec<PivotFilterField>,
pub grand_totals_row: bool,
pub grand_totals_col: bool,
pub last_output_end_row: Option<usize>,
pub last_output_end_col: Option<usize>,
}Fields§
§id: u64Workbook-unique identifier, stable across renames.
name: StringDisplay name, unique workbook-wide.
source: PivotSourceWhere the records come from.
dest_sheet_id: u64Sheet the grid is written to, which need not be the source’s sheet.
dest_row: usizeTop-left row of the output grid, 0-based.
dest_col: usizeTop-left column of the output grid, 0-based.
row_fields: Vec<PivotField>Fields grouped down the left edge, outermost first.
col_fields: Vec<PivotField>Fields grouped across the top, outermost first.
value_fields: Vec<PivotValueField>§filter_fields: Vec<PivotFilterField>Fields restricting which source records take part.
grand_totals_row: boolWhether a grand-total row is appended below the body.
grand_totals_col: boolWhether a grand-total column is appended to the right of the body.
last_output_end_row: Option<usize>§last_output_end_col: Option<usize>Column half of that corner; see PivotTable::last_output_end_row.
Trait Implementations§
Source§impl Clone for PivotTable
impl Clone for PivotTable
Source§impl Debug for PivotTable
impl Debug for PivotTable
Source§impl<'de> Deserialize<'de> for PivotTable
impl<'de> Deserialize<'de> for PivotTable
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PivotTable
impl PartialEq for PivotTable
Source§impl Serialize for PivotTable
impl Serialize for PivotTable
impl StructuralPartialEq for PivotTable
Auto Trait Implementations§
impl Freeze for PivotTable
impl RefUnwindSafe for PivotTable
impl Send for PivotTable
impl Sync for PivotTable
impl Unpin for PivotTable
impl UnsafeUnpin for PivotTable
impl UnwindSafe for PivotTable
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