[][src]Trait concatsql::Get

pub trait Get {
    fn get<'a>(
        &self,
        pairs: &'a IndexMap<String, Option<String>>
    ) -> Option<&'a str>;
fn get_into<'a, U: FromSql>(
        &self,
        pairs: &'a IndexMap<String, Option<String>>
    ) -> Result<U, Error>; }

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

Required methods

fn get<'a>(
    &self,
    pairs: &'a IndexMap<String, Option<String>>
) -> Option<&'a str>

fn get_into<'a, U: FromSql>(
    &self,
    pairs: &'a IndexMap<String, Option<String>>
) -> Result<U, Error>

Loading content...

Implementations on Foreign Types

impl Get for str[src]

impl Get for usize[src]

impl<'b, T: ?Sized> Get for &'b T where
    T: Get
[src]

Loading content...

Implementors

Loading content...