Trait dengine::Rowable [−][src]
pub trait Rowable { fn get_val(&self, key: &str) -> Option<Dypes>; fn get_date_string(&self, key: &str, format: &str) -> Desult<String>; }
Trait that mysql::Row or sqlite::Row usable inside a dengine::Row
Required Methods
fn get_val(&self, key: &str) -> Option<Dypes>
Get value from a row
fn get_date_string(&self, key: &str, format: &str) -> Desult<String>
Get date string for row with column name -> key Format uses chrono format str
Implementations on Foreign Types
impl Rowable for Row
[src]
impl Rowable for Row
impl<'a> Rowable for Row<'a>
[src]
impl<'a> Rowable for Row<'a>