pub enum Projection {
All,
Items(Vec<ProjectionItem>),
}Expand description
What columns to project from a SELECT.
Variants§
All
SELECT * — every column in the table, in declaration order.
Items(Vec<ProjectionItem>)
Explicit, ordered projection list — possibly mixing bare columns
with aggregate calls (SELECT dept, COUNT(*) FROM t).
Trait Implementations§
Source§impl Clone for Projection
impl Clone for Projection
Auto Trait Implementations§
impl Freeze for Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnsafeUnpin for Projection
impl UnwindSafe for Projection
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