[−][src]Struct google_sheets4::PivotValue
The definition of how a value in a pivot table should be calculated.
This type is not used in any activity, and only used as part of another schema.
Fields
formula: Option<String>A custom formula to calculate the value. The formula must start
with an = character.
summarize_function: Option<String>A function to summarize the value.
If formula is set, the only supported values are
SUM and
CUSTOM.
If sourceColumnOffset is set, then CUSTOM
is not supported.
name: Option<String>A name to use for the value.
source_column_offset: Option<i32>The column offset of the source range that this value reads from.
For example, if the source was C10:E15, a sourceColumnOffset of 0
means this value refers to column C, whereas the offset 1 would
refer to column D.
calculated_display_type: Option<String>If specified, indicates that pivot values should be displayed as the result of a calculation with another pivot value. For example, if calculated_display_type is specified as PERCENT_OF_GRAND_TOTAL, all the pivot values are displayed as the percentage of the grand total. In the Sheets UI, this is referred to as "Show As" in the value section of a pivot table.
Trait Implementations
impl Clone for PivotValue[src]
fn clone(&self) -> PivotValue[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PivotValue[src]
impl Default for PivotValue[src]
fn default() -> PivotValue[src]
impl<'de> Deserialize<'de> for PivotValue[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for PivotValue[src]
impl Serialize for PivotValue[src]
Auto Trait Implementations
impl RefUnwindSafe for PivotValue
impl Send for PivotValue
impl Sync for PivotValue
impl Unpin for PivotValue
impl UnwindSafe for PivotValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,