Trait mysql_common::row::ColumnIndex

source ·
pub trait ColumnIndex {
    // Required method
    fn idx(&self, columns: &[Column]) -> Option<usize>;
}
Expand description

Things that may be used as an index of a row column.

Required Methods§

source

fn idx(&self, columns: &[Column]) -> Option<usize>

Implementations on Foreign Types§

source§

impl ColumnIndex for usize

source§

fn idx(&self, columns: &[Column]) -> Option<usize>

source§

impl<'a> ColumnIndex for &'a str

source§

fn idx(&self, columns: &[Column]) -> Option<usize>

Implementors§