Trait r2d2_mysql::RowIndex [] [src]

pub trait RowIndex {
    fn idx(&self, row: &Row) -> Option<usize>;
}

A trait implemented by types that can index into columns of a row.

Required Methods

fn idx(&self, row: &Row) -> Option<usize>

Returns the index of the appropriate column, or None if no such column exists.

Implementors