pub struct Sum {
pub field: String,
}Expand description
Sum aggregator
Fields§
§field: StringImplementations§
Trait Implementations§
Source§impl Aggregation for Sum
impl Aggregation for Sum
fn aggregate(&self, events: &[StreamEvent]) -> AggregateResult
Auto Trait Implementations§
impl Freeze for Sum
impl RefUnwindSafe for Sum
impl Send for Sum
impl Sync for Sum
impl Unpin for Sum
impl UnwindSafe for Sum
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