pub struct Combine {
pub op: Option<SetOp>,
pub query: Option<Expr>,
pub all: bool,
}Expand description
UNION [ALL] (<query>)
The operand is always parenthesised. It does not have to be — a UNION b UNION c is legal and left-associative — but a parenthesised operand cannot be
re-associated by a later ORDER BY, and it is the only way an operand that has
its own LIMIT can be written at all.
Fields§
§op: Option<SetOp>Which set operation. None is how a default-constructed Combine stays
absent.
query: Option<Expr>The right-hand operand, rendered inside parentheses.
all: boolALL: keep duplicate rows instead of removing them.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Combine
impl !UnwindSafe for Combine
impl Freeze for Combine
impl Send for Combine
impl Sync for Combine
impl Unpin for Combine
impl UnsafeUnpin for Combine
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