pub struct PivotGroupSortValueBucket {
pub buckets: Option<Vec<ExtendedValue>>,
pub values_index: Option<i32>,
}
Expand description
Information about which values in a pivot group should be used for sorting.
This type is not used in any activity, and only used as part of another schema.
Fields§
§buckets: Option<Vec<ExtendedValue>>
Determines the bucket from which values are chosen to sort. For example, in a pivot table with one row group & two column groups, the row group can list up to two values. The first value corresponds to a value within the first column group, and the second value corresponds to a value in the second column group. If no values are listed, this would indicate that the row should be sorted according to the “Grand Total” over the column groups. If a single value is listed, this would correspond to using the “Total” of that bucket.
values_index: Option<i32>
The offset in the PivotTable.values list which the values in this grouping should be sorted by.
Trait Implementations§
Source§impl Clone for PivotGroupSortValueBucket
impl Clone for PivotGroupSortValueBucket
Source§fn clone(&self) -> PivotGroupSortValueBucket
fn clone(&self) -> PivotGroupSortValueBucket
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PivotGroupSortValueBucket
impl Debug for PivotGroupSortValueBucket
Source§impl Default for PivotGroupSortValueBucket
impl Default for PivotGroupSortValueBucket
Source§fn default() -> PivotGroupSortValueBucket
fn default() -> PivotGroupSortValueBucket
Source§impl<'de> Deserialize<'de> for PivotGroupSortValueBucket
impl<'de> Deserialize<'de> for PivotGroupSortValueBucket
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>,
impl Part for PivotGroupSortValueBucket
Auto Trait Implementations§
impl Freeze for PivotGroupSortValueBucket
impl RefUnwindSafe for PivotGroupSortValueBucket
impl Send for PivotGroupSortValueBucket
impl Sync for PivotGroupSortValueBucket
impl Unpin for PivotGroupSortValueBucket
impl UnwindSafe for PivotGroupSortValueBucket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more