pub enum SetOperator {
Union,
Intersect,
Except,
}Expand description
The SQL set operator forms represented by the AST.
Variants§
Union
UNION — all rows from both inputs (deduplicated unless ALL).
Intersect
INTERSECT — rows present in both inputs.
Except
EXCEPT — rows in the left input but not the right.
Trait Implementations§
Source§impl Clone for SetOperator
impl Clone for SetOperator
Source§fn clone(&self) -> SetOperator
fn clone(&self) -> SetOperator
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 SetOperator
impl Debug for SetOperator
Source§impl<'de> Deserialize<'de> for SetOperator
impl<'de> Deserialize<'de> for SetOperator
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SetOperator
Source§impl Hash for SetOperator
impl Hash for SetOperator
Source§impl PartialEq for SetOperator
impl PartialEq for SetOperator
Source§impl Render for SetOperator
impl Render for SetOperator
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for SetOperator
impl Serialize for SetOperator
impl StructuralPartialEq for SetOperator
Auto Trait Implementations§
impl Freeze for SetOperator
impl RefUnwindSafe for SetOperator
impl Send for SetOperator
impl Sync for SetOperator
impl Unpin for SetOperator
impl UnsafeUnpin for SetOperator
impl UnwindSafe for SetOperator
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