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

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

Get row values by their name.

Required Methods

Implementors