pub enum SetOperator {
Union,
Intersect,
Except,
}Expand description
Set operators for combining SELECT statements
Variants§
Union
UNION - combines results from two queries, removing duplicates (unless ALL specified)
Intersect
INTERSECT - returns only rows that appear in both queries
Except
EXCEPT - returns rows from left query that don’t appear in right query (SQL standard)
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 · 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 From<SetOperator> for SetOperator
impl From<SetOperator> for SetOperator
Source§fn from(op: SetOperator) -> Self
fn from(op: SetOperator) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetOperator
impl PartialEq for SetOperator
Source§impl ToSql for SetOperator
impl ToSql 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 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