Trait csvsc::prelude::GroupCriteria[][src]

pub trait GroupCriteria {
    fn group_for(&self, headers: &Headers, row: &Row) -> u64;
}

Types implementing this trait can be used to group rows in a row stream, both for group() and adjacent_group()

Required methods

fn group_for(&self, headers: &Headers, row: &Row) -> u64[src]

Compute the hash of a given row as u64.

Loading content...

Implementations on Foreign Types

impl GroupCriteria for [&str][src]

impl<const N: usize> GroupCriteria for [&str; N][src]

Loading content...

Implementors

impl<H, F> GroupCriteria for F where
    F: Fn(&Headers, &Row) -> H,
    H: Hash
[src]

Loading content...