Trait klickhouse::Row[][src]

pub trait Row: Sized {
    fn deserialize_row(map: Vec<(&str, &Type, Value)>) -> Result<Self>;
fn serialize_row(self) -> Result<Vec<(&'static str, Value)>>; }
Expand description

A row that can be deserialized and serialized from a raw Clickhouse SQL value. Generally this is not implemented manually, but using klickhouse_derive::Row. I.e. #[derive(klickhouse::Row)].

Required methods

fn deserialize_row(map: Vec<(&str, &Type, Value)>) -> Result<Self>[src]

fn serialize_row(self) -> Result<Vec<(&'static str, Value)>>[src]

Implementors