pub struct PivotCalcField {
pub name: String,
pub formula: String,
}Expand description
A calculated field: a formula over other fields (=Sales*0.1, ='Unit Price'*Units). As in
Excel, it is evaluated on the sums of the fields it names for each report cell, not per record.
Fields§
§name: String§formula: StringFormula text, starting with =.
Trait Implementations§
Source§impl Clone for PivotCalcField
impl Clone for PivotCalcField
Source§fn clone(&self) -> PivotCalcField
fn clone(&self) -> PivotCalcField
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 PivotCalcField
impl Debug for PivotCalcField
Source§impl Default for PivotCalcField
impl Default for PivotCalcField
Source§fn default() -> PivotCalcField
fn default() -> PivotCalcField
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PivotCalcFieldwhere
PivotCalcField: Default,
impl<'de> Deserialize<'de> for PivotCalcFieldwhere
PivotCalcField: Default,
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 PivotCalcField
impl PartialEq for PivotCalcField
Source§impl Serialize for PivotCalcField
impl Serialize for PivotCalcField
impl StructuralPartialEq for PivotCalcField
Auto Trait Implementations§
impl Freeze for PivotCalcField
impl RefUnwindSafe for PivotCalcField
impl Send for PivotCalcField
impl Sync for PivotCalcField
impl Unpin for PivotCalcField
impl UnsafeUnpin for PivotCalcField
impl UnwindSafe for PivotCalcField
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