pub struct PivotValue {
pub source_col: String,
pub func: PivotFunc,
pub name: String,
pub show_as: PivotShowAs,
pub number_format: Option<String>,
}Expand description
A field in the Values area.
Fields§
§source_col: String§func: PivotFunc§name: StringCaption, e.g. “Sum of Sales”.
show_as: PivotShowAs§number_format: Option<String>Trait Implementations§
Source§impl Clone for PivotValue
impl Clone for PivotValue
Source§fn clone(&self) -> PivotValue
fn clone(&self) -> PivotValue
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 PivotValue
impl Debug for PivotValue
Source§impl Default for PivotValue
impl Default for PivotValue
Source§fn default() -> PivotValue
fn default() -> PivotValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PivotValuewhere
PivotValue: Default,
impl<'de> Deserialize<'de> for PivotValuewhere
PivotValue: 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 PivotValue
impl PartialEq for PivotValue
Source§impl Serialize for PivotValue
impl Serialize for PivotValue
impl StructuralPartialEq for PivotValue
Auto Trait Implementations§
impl Freeze for PivotValue
impl RefUnwindSafe for PivotValue
impl Send for PivotValue
impl Sync for PivotValue
impl Unpin for PivotValue
impl UnsafeUnpin for PivotValue
impl UnwindSafe for PivotValue
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