pub enum PivotSource {
Table {
name: String,
},
Range {
sheet_id: u64,
start_row: usize,
start_col: usize,
end_row: usize,
end_col: usize,
},
}Expand description
Where a PivotTable reads its source records from: either an existing
ExcelTable (looked up by name at compute time, so renames/resizes of
the table are picked up automatically on refresh) or a plain cell range
whose first row is treated as column headers.
Variants§
Table
An ExcelTable, resolved by name on every refresh.
Range
A raw rectangular range, whose first row supplies the field names.
Trait Implementations§
Source§impl Clone for PivotSource
impl Clone for PivotSource
Source§fn clone(&self) -> PivotSource
fn clone(&self) -> PivotSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PivotSource
impl Debug for PivotSource
Source§impl<'de> Deserialize<'de> for PivotSource
impl<'de> Deserialize<'de> for PivotSource
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 PivotSource
impl PartialEq for PivotSource
Source§impl Serialize for PivotSource
impl Serialize for PivotSource
impl StructuralPartialEq for PivotSource
Auto Trait Implementations§
impl Freeze for PivotSource
impl RefUnwindSafe for PivotSource
impl Send for PivotSource
impl Sync for PivotSource
impl Unpin for PivotSource
impl UnsafeUnpin for PivotSource
impl UnwindSafe for PivotSource
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