pub trait AggregatePolicy<D>: Numeric {
type Sum: DataType;
type Avg: DataType;
}Expand description
Dialect-specific aggregate output mapping.
Keeps aggregate output typing in one place so all aggregate functions follow the same per-dialect policy.
Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".