pub enum AggregableKind {
Orderable,
Boolean,
Opaque,
}Expand description
What kind of value an aggregate would have to collapse — the axis
SqlRenderer::render_single_row_aggregate varies on, held to three arms
because three is what the measurements distinguish.
Not the full type lattice: MAX behaves identically across every numeric,
textual and temporal type on every platform razeri reaches, and splitting
them would invite per-type arms nothing has measured.
Variants§
Orderable
Numeric, textual and temporal — every platform orders these and every
platform has MAX for them.
Boolean
A truth value. PostgreSQL and SQL Server have no MAX for it and each
spells the collapse differently.
Opaque
uuid, JSON, binary, interval, array, map — the families with no
ordering to borrow. Availability is per platform and is measured, never
assumed.
Trait Implementations§
Source§impl Clone for AggregableKind
impl Clone for AggregableKind
Source§fn clone(&self) -> AggregableKind
fn clone(&self) -> AggregableKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AggregableKind
Source§impl Debug for AggregableKind
impl Debug for AggregableKind
impl Eq for AggregableKind
Source§impl PartialEq for AggregableKind
impl PartialEq for AggregableKind
impl StructuralPartialEq for AggregableKind
Auto Trait Implementations§
impl Freeze for AggregableKind
impl RefUnwindSafe for AggregableKind
impl Send for AggregableKind
impl Sync for AggregableKind
impl Unpin for AggregableKind
impl UnsafeUnpin for AggregableKind
impl UnwindSafe for AggregableKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more