Trait cratedb::row::ByColumnName [] [src]

pub trait ByColumnName {
    fn as_i64(&self, col: &str) -> Option<i64>;
fn as_u64(&self, col: &str) -> Option<u64>;
fn as_f64(&self, col: &str) -> Option<f64>;
fn as_bool(&self, col: &str) -> Option<bool>;
fn as_string(&self, col: &str) -> Option<String>;
fn as_array<T: DeserializeOwned>(&self, col: &str) -> Option<Vec<T>>; }

Get row values by their name.

Required Methods

Implementors