pub struct Union<'a> {
pub left: Box<Statement<'a>>,
pub with: Vec<UnionWith<'a>>,
pub order_by: Option<(Span, Vec<(Expression<'a>, OrderFlag)>)>,
pub limit: Option<(Span, Option<Expression<'a>>, Expression<'a>)>,
}
Expand description
Union statement
Fields§
§left: Box<Statement<'a>>
Left side of union
with: Vec<UnionWith<'a>>
List of things to union
order_by: Option<(Span, Vec<(Expression<'a>, OrderFlag)>)>
Span of “ORDER BY”, and list of ordering expressions and directions if specified
limit: Option<(Span, Option<Expression<'a>>, Expression<'a>)>
Span of “LIMIT”, offset and count expressions if specified
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Union<'a>
impl<'a> RefUnwindSafe for Union<'a>
impl<'a> Send for Union<'a>
impl<'a> Sync for Union<'a>
impl<'a> Unpin for Union<'a>
impl<'a> UnwindSafe for Union<'a>
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