pub trait Expression: Sized {
type Output: ClickHouseType;
// Required method
fn render(&self) -> String;
// Provided method
fn is_aggregate(&self) -> bool { ... }
}Expand description
Base trait for all expressions
Required Associated Types§
Sourcetype Output: ClickHouseType
type Output: ClickHouseType
The output type of this expression
Required Methods§
Provided Methods§
Sourcefn is_aggregate(&self) -> bool
fn is_aggregate(&self) -> bool
Whether this is an aggregate expression
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.