Skip to main content

Row

Trait Row 

Source
pub trait Row {
    // Required method
    fn get_value(&self, i: usize) -> Option<Result<Value>>;

    // Provided method
    fn get<T>(&self, i: usize) -> Option<Result<T>>
       where T: TryFromValue { ... }
}
Expand description

Return a row of results that can be queried to be converted into objects

Required Methods§

Provided Methods§

Source

fn get<T>(&self, i: usize) -> Option<Result<T>>
where T: TryFromValue,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl Row for derive_sql::proxy::sqlite::Row

Source§

impl Row for derive_sql::proxy::mysql::Row

Source§

impl Row for derive_sql::proxy::postgres::Row