pub enum SelectProjection {
AllColumns,
AllColumnsExcept {
exclude: Vec<String>,
},
Column {
name: String,
alias: Option<String>,
},
Computed {
expr: ScalarExpr<String>,
alias: String,
},
}Expand description
Projection specification for SELECT.
Variants§
Trait Implementations§
Source§impl Clone for SelectProjection
impl Clone for SelectProjection
Source§fn clone(&self) -> SelectProjection
fn clone(&self) -> SelectProjection
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 SelectProjection
impl RefUnwindSafe for SelectProjection
impl Send for SelectProjection
impl Sync for SelectProjection
impl Unpin for SelectProjection
impl UnsafeUnpin for SelectProjection
impl UnwindSafe for SelectProjection
Blanket Implementations§
impl<T> Allocation for T
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