pub enum SetOperationElement {
With(With),
SelectStmt {
hints: Option<Hint>,
distinct: bool,
top_n: Option<u64>,
select_list: Vec<SelectTarget>,
from: Vec<TableReference>,
selection: Option<Expr>,
group_by: Option<GroupBy>,
having: Option<Expr>,
window_list: Option<Vec<WindowDefinition>>,
qualify: Option<Expr>,
},
SetOperation {
op: SetOperator,
all: bool,
},
Values(Vec<Vec<Expr>>),
OrderBy {
order_by: Vec<OrderByExpr>,
},
Limit {
limit: Vec<Expr>,
},
Offset {
offset: Expr,
},
IgnoreResult,
Group(SetExpr),
}Variants§
With(With)
SelectStmt
Fields
§
select_list: Vec<SelectTarget>§
from: Vec<TableReference>§
window_list: Option<Vec<WindowDefinition>>SetOperation
Values(Vec<Vec<Expr>>)
OrderBy
Fields
§
order_by: Vec<OrderByExpr>Limit
Offset
IgnoreResult
Group(SetExpr)
Trait Implementations§
source§impl Clone for SetOperationElement
impl Clone for SetOperationElement
source§fn clone(&self) -> SetOperationElement
fn clone(&self) -> SetOperationElement
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 SetOperationElement
impl Debug for SetOperationElement
source§impl PartialEq for SetOperationElement
impl PartialEq for SetOperationElement
impl StructuralPartialEq for SetOperationElement
Auto Trait Implementations§
impl Freeze for SetOperationElement
impl RefUnwindSafe for SetOperationElement
impl Send for SetOperationElement
impl Sync for SetOperationElement
impl Unpin for SetOperationElement
impl UnwindSafe for SetOperationElement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more