Trait csvsc::Aggregate [−][src]
Aggregates used while reducing must implement this trait.
Required methods
fn update(&mut self, headers: &Headers, row: &Row) -> Result<()>[src]
Updates the current value with the next row of data.
fn value(&self) -> String[src]
Gets the current value.
fn colname(&self) -> &str[src]
Gets this aggregate’s colname