pub enum GroupBySelection {
Dimension {
path: String,
alias: String,
},
TemporalBucket {
column: String,
bucket: TemporalBucket,
alias: String,
},
CalendarDimension {
source_column: String,
calendar_column: String,
json_key: String,
bucket: TemporalBucket,
alias: String,
},
}Expand description
GROUP BY selection
Variants§
Dimension
Group by JSONB dimension
TemporalBucket
Group by temporal bucket
Fields
§
bucket: TemporalBucketBucket type
CalendarDimension
Group by pre-computed calendar dimension
Implementations§
Trait Implementations§
Source§impl Clone for GroupBySelection
impl Clone for GroupBySelection
Source§fn clone(&self) -> GroupBySelection
fn clone(&self) -> GroupBySelection
Returns a duplicate of the value. Read more
1.0.0 · 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 GroupBySelection
impl Debug for GroupBySelection
Source§impl<'de> Deserialize<'de> for GroupBySelection
impl<'de> Deserialize<'de> for GroupBySelection
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 GroupBySelection
impl PartialEq for GroupBySelection
Source§impl Serialize for GroupBySelection
impl Serialize for GroupBySelection
impl StructuralPartialEq for GroupBySelection
Auto Trait Implementations§
impl Freeze for GroupBySelection
impl RefUnwindSafe for GroupBySelection
impl Send for GroupBySelection
impl Sync for GroupBySelection
impl Unpin for GroupBySelection
impl UnsafeUnpin for GroupBySelection
impl UnwindSafe for GroupBySelection
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