pub struct SetOperationStatement {
pub comments: Vec<String>,
pub op: SetOperationType,
pub all: bool,
pub left: Box<Statement>,
pub right: Box<Statement>,
pub order_by: Vec<OrderByItem>,
pub limit: Option<Expr>,
pub offset: Option<Expr>,
}Expand description
UNION / INTERSECT / EXCEPT between two or more queries.
Fields§
§comments: Vec<String>Comments attached to this statement.
op: SetOperationType§all: bool§left: Box<Statement>§right: Box<Statement>§order_by: Vec<OrderByItem>§limit: Option<Expr>§offset: Option<Expr>Trait Implementations§
Source§impl Clone for SetOperationStatement
impl Clone for SetOperationStatement
Source§fn clone(&self) -> SetOperationStatement
fn clone(&self) -> SetOperationStatement
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 SetOperationStatement
impl Debug for SetOperationStatement
Source§impl<'de> Deserialize<'de> for SetOperationStatement
impl<'de> Deserialize<'de> for SetOperationStatement
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
Source§impl PartialEq for SetOperationStatement
impl PartialEq for SetOperationStatement
Source§impl Serialize for SetOperationStatement
impl Serialize for SetOperationStatement
impl StructuralPartialEq for SetOperationStatement
Auto Trait Implementations§
impl Freeze for SetOperationStatement
impl RefUnwindSafe for SetOperationStatement
impl Send for SetOperationStatement
impl Sync for SetOperationStatement
impl Unpin for SetOperationStatement
impl UnsafeUnpin for SetOperationStatement
impl UnwindSafe for SetOperationStatement
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