Skip to main content

AggregateFn

Trait AggregateFn 

Source
pub trait AggregateFn {
    type Input: ClickHouseType;
    type Output: ClickHouseType;

    // Required method
    fn name() -> &'static str;
}
Expand description

Trait for aggregate functions

Required Associated Types§

Source

type Input: ClickHouseType

Input type

Source

type Output: ClickHouseType

Output type

Required Methods§

Source

fn name() -> &'static str

Function name in SQL

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.

Implementors§