pub enum GroupByField {
Direct(String),
Aliased {
alias: String,
mapping: HashMap<String, String>,
},
}Expand description
A group-by field, potentially aliased per referenced rule.
Variants§
Direct(String)
Simple field name, same across all referenced rules.
Aliased
Aliased: maps rule_ref -> actual field name in that rule’s events.
Implementations§
Source§impl GroupByField
impl GroupByField
Trait Implementations§
Source§impl Clone for GroupByField
impl Clone for GroupByField
Source§fn clone(&self) -> GroupByField
fn clone(&self) -> GroupByField
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 moreAuto Trait Implementations§
impl Freeze for GroupByField
impl RefUnwindSafe for GroupByField
impl Send for GroupByField
impl Sync for GroupByField
impl Unpin for GroupByField
impl UnsafeUnpin for GroupByField
impl UnwindSafe for GroupByField
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