pub enum ProjectionKind {
Column(String),
Aggregate(AggregateCall),
}Expand description
What an individual projection item produces.
Variants§
Column(String)
Bare column reference: SELECT a, b, c.
Aggregate(AggregateCall)
Aggregate function call: COUNT(*), SUM(col), etc.
Trait Implementations§
Source§impl Clone for ProjectionKind
impl Clone for ProjectionKind
Source§fn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
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 moreAuto Trait Implementations§
impl Freeze for ProjectionKind
impl RefUnwindSafe for ProjectionKind
impl Send for ProjectionKind
impl Sync for ProjectionKind
impl Unpin for ProjectionKind
impl UnsafeUnpin for ProjectionKind
impl UnwindSafe for ProjectionKind
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