pub struct DimensionSpec {
pub by: Vec<CategoryId>,
pub over: Vec<CategoryId>,
pub except: Vec<CategoryId>,
}Expand description
How a measure reference is projected/aggregated across dimensions.
by— categories to keep (group by).over— categories to aggregate over (collapse).except— categories to drop.
Fields§
§by: Vec<CategoryId>§over: Vec<CategoryId>§except: Vec<CategoryId>Trait Implementations§
Source§impl Clone for DimensionSpec
impl Clone for DimensionSpec
Source§fn clone(&self) -> DimensionSpec
fn clone(&self) -> DimensionSpec
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 DimensionSpec
impl Debug for DimensionSpec
Source§impl Default for DimensionSpec
impl Default for DimensionSpec
Source§fn default() -> DimensionSpec
fn default() -> DimensionSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DimensionSpec
impl<'de> Deserialize<'de> for DimensionSpec
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 DimensionSpec
impl PartialEq for DimensionSpec
Source§impl Serialize for DimensionSpec
impl Serialize for DimensionSpec
impl StructuralPartialEq for DimensionSpec
Auto Trait Implementations§
impl Freeze for DimensionSpec
impl RefUnwindSafe for DimensionSpec
impl Send for DimensionSpec
impl Sync for DimensionSpec
impl Unpin for DimensionSpec
impl UnsafeUnpin for DimensionSpec
impl UnwindSafe for DimensionSpec
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