Struct AggregationTransform
pub struct AggregationTransform {
fields: HashMap<Symbol, AggregationField>,
stat_processed: AtomicUsize,
stat_dropped: AtomicUsize,
}Fields§
§fields: HashMap<Symbol, AggregationField>§stat_processed: AtomicUsize§stat_dropped: AtomicUsizeImplementations§
§impl AggregationTransform
impl AggregationTransform
pub(crate) const fn new_fields( fields: HashMap<Symbol, AggregationField>, ) -> Self
pub fn stat(&self) -> Stat
pub fn transform(&self, agg: Aggregation) -> Option<Aggregation>
pub(crate) fn transform_impl( &self, attributes: &Attributes, fields: &mut Fields, ) -> Outcome
pub(crate) fn duplicate(&self) -> Self
Trait Implementations§
§impl Debug for AggregationTransform
impl Debug for AggregationTransform
§impl Default for AggregationTransform
impl Default for AggregationTransform
§fn default() -> AggregationTransform
fn default() -> AggregationTransform
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for AggregationTransform
impl RefUnwindSafe for AggregationTransform
impl Send for AggregationTransform
impl Sync for AggregationTransform
impl Unpin for AggregationTransform
impl UnwindSafe for AggregationTransform
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