pub trait Aggregate {
fn update(&mut self, headers: &Headers, row: &Row) -> Result<()>;
fn value(&self) -> String;
fn colname(&self) -> &str;
}
Expand description
Aggregates used while reducing must implement this trait.
Required methods
Updates the current value with the next row of data.