pub struct PivotField {
pub column: String,
pub subtotal: bool,
}Expand description
One field placed in the Row or Column area.
Fields§
§column: StringName of the source column to group by, matched against the header row.
subtotal: boolWhether a subtotal line is emitted for this field when it isn’t the innermost field in its area (Excel’s per-field “Subtotals” toggle).
Implementations§
Trait Implementations§
Source§impl Clone for PivotField
impl Clone for PivotField
Source§fn clone(&self) -> PivotField
fn clone(&self) -> PivotField
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 PivotField
impl Debug for PivotField
Source§impl<'de> Deserialize<'de> for PivotField
impl<'de> Deserialize<'de> for PivotField
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 PivotField
impl PartialEq for PivotField
Source§impl Serialize for PivotField
impl Serialize for PivotField
impl StructuralPartialEq for PivotField
Auto Trait Implementations§
impl Freeze for PivotField
impl RefUnwindSafe for PivotField
impl Send for PivotField
impl Sync for PivotField
impl Unpin for PivotField
impl UnsafeUnpin for PivotField
impl UnwindSafe for PivotField
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