Trait mysql::FromRow [] [src]

pub trait FromRow {
    fn from_row(row: Row) -> Self;
    fn from_row_opt(row: Row) -> MyResult<Self> where Self: Sized;
}

Trait to convert Row into tuple of FromValue implementors up to arity 12.

Required Methods

fn from_row(row: Row) -> Self

fn from_row_opt(row: Row) -> MyResult<Self> where Self: Sized

Implementors