Struct sheets::types::PivotValue
source · pub struct PivotValue {
pub calculated_display_type: Option<CalculatedDisplayType>,
pub data_source_column_reference: Option<DataSourceColumnReference>,
pub formula: String,
pub name: String,
pub source_column_offset: i64,
pub summarize_function: Option<SummarizeFunction>,
}
Expand description
The definition of how a value in a pivot table should be calculated.
Fields
calculated_display_type: Option<CalculatedDisplayType>
The definition of how a value in a pivot table should be calculated.
data_source_column_reference: Option<DataSourceColumnReference>
The definition of how a value in a pivot table should be calculated.
formula: String
The definition of how a value in a pivot table should be calculated.
name: String
The definition of how a value in a pivot table should be calculated.
source_column_offset: i64
The definition of how a value in a pivot table should be calculated.
summarize_function: Option<SummarizeFunction>
The definition of how a value in a pivot table should be calculated.
Trait Implementations
sourceimpl Clone for PivotValue
impl Clone for PivotValue
sourcefn clone(&self) -> PivotValue
fn clone(&self) -> PivotValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for PivotValue
impl Debug for PivotValue
sourceimpl<'de> Deserialize<'de> for PivotValue
impl<'de> Deserialize<'de> for PivotValue
sourcefn 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
sourceimpl JsonSchema for PivotValue
impl JsonSchema for PivotValue
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl PartialEq<PivotValue> for PivotValue
impl PartialEq<PivotValue> for PivotValue
sourcefn eq(&self, other: &PivotValue) -> bool
fn eq(&self, other: &PivotValue) -> bool
sourceimpl Serialize for PivotValue
impl Serialize for PivotValue
impl StructuralPartialEq for PivotValue
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more