pub enum ProjectExpr {
Column(usize),
Computed(Expr, ScalarType),
}Expand description
Projection expression – either a pass-through column reference or a computed value.
Variants§
Column(usize)
Pass through column at given index.
Computed(Expr, ScalarType)
Compute an expression whose result has the given scalar type.
Trait Implementations§
Source§impl Clone for ProjectExpr
impl Clone for ProjectExpr
Source§fn clone(&self) -> ProjectExpr
fn clone(&self) -> ProjectExpr
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 moreSource§impl Debug for ProjectExpr
impl Debug for ProjectExpr
Source§impl PartialEq for ProjectExpr
impl PartialEq for ProjectExpr
Source§fn eq(&self, other: &ProjectExpr) -> bool
fn eq(&self, other: &ProjectExpr) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProjectExpr
Auto Trait Implementations§
impl Freeze for ProjectExpr
impl RefUnwindSafe for ProjectExpr
impl Send for ProjectExpr
impl Sync for ProjectExpr
impl Unpin for ProjectExpr
impl UnsafeUnpin for ProjectExpr
impl UnwindSafe for ProjectExpr
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