pub struct PivotDataField {
pub name: String,
pub function: AggregateFunction,
pub display_name: Option<String>,
}Expand description
A data/value field in the pivot table.
Fields§
§name: StringColumn name from the source data header row.
function: AggregateFunctionAggregate function to apply.
display_name: Option<String>Optional custom display name.
Trait Implementations§
Source§impl Clone for PivotDataField
impl Clone for PivotDataField
Source§fn clone(&self) -> PivotDataField
fn clone(&self) -> PivotDataField
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 PivotDataField
impl RefUnwindSafe for PivotDataField
impl Send for PivotDataField
impl Sync for PivotDataField
impl Unpin for PivotDataField
impl UnwindSafe for PivotDataField
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