Enum partiql_ast::ast::ProjectionKind
source · pub enum ProjectionKind {
ProjectStar,
ProjectList(Vec<AstNode<ProjectItem>>),
ProjectPivot(ProjectPivot),
ProjectValue(Box<Expr>),
}
Expand description
Indicates the type of projection in a SFW query.
Variants§
ProjectStar
ProjectList(Vec<AstNode<ProjectItem>>)
ProjectPivot(ProjectPivot)
ProjectValue(Box<Expr>)
Trait Implementations§
source§impl Clone for ProjectionKind
impl Clone for ProjectionKind
source§fn clone(&self) -> ProjectionKind
fn clone(&self) -> ProjectionKind
Returns a copy of the value. Read more
1.0.0 · 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 ProjectionKind
impl Debug for ProjectionKind
source§impl PartialEq<ProjectionKind> for ProjectionKind
impl PartialEq<ProjectionKind> for ProjectionKind
source§fn eq(&self, other: &ProjectionKind) -> bool
fn eq(&self, other: &ProjectionKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for ProjectionKind
impl Visit for ProjectionKind
impl StructuralPartialEq for ProjectionKind
Auto Trait Implementations§
impl RefUnwindSafe for ProjectionKind
impl Send for ProjectionKind
impl Sync for ProjectionKind
impl Unpin 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