pub struct SetOp {
pub kind: SetOpKind,
pub all: bool,
pub left: Option<Box<SelectStmt>>,
pub right: SelectStmt,
pub combined_order_by: Vec<OrderBy>,
pub combined_limit: Option<Expr>,
pub combined_offset: Option<Expr>,
}Fields§
§kind: SetOpKind§all: bool§left: Option<Box<SelectStmt>>Explicit left-hand subtree. Parsed set operations are left-associative,
so a chain such as a UNION b UNION c carries (a UNION b) here
instead of flattening it back to only a.
right: SelectStmt§combined_order_by: Vec<OrderBy>ORDER BY applied to the combined lhs <op> rhs result.
Distinct from the LHS / RHS branches’ own ORDER BY.
combined_limit: Option<Expr>LIMIT applied to the combined result. None means no
outer LIMIT clause was supplied.
combined_offset: Option<Expr>OFFSET applied to the combined result.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetOp
impl<'de> Deserialize<'de> for SetOp
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
Auto Trait Implementations§
impl Freeze for SetOp
impl RefUnwindSafe for SetOp
impl Send for SetOp
impl Sync for SetOp
impl Unpin for SetOp
impl UnsafeUnpin for SetOp
impl UnwindSafe for SetOp
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
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