pub trait ChValue: Sized {
// Required methods
fn ch_type() -> Type;
fn into_ch_value(self) -> Value;
fn from_ch_value(value: Value) -> Result<Self, Error>;
// Provided method
fn into_sql(self) -> String { ... }
}Expand description
Trait to represent a Clickhouse value
Required Methods§
Sourcefn into_ch_value(self) -> Value
fn into_ch_value(self) -> Value
Returns the Clickhouse value
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.