pub enum QuerySetOperationTableExpression {
UnionAll {
union_all: Vec<QuerySetOrString>,
except: Option<Vec<String>>,
limit: Option<i32>,
},
Union {
union: Vec<QuerySetOrString>,
except: Option<Vec<String>>,
limit: Option<i32>,
},
Intersection {
intersection: Vec<QuerySetOrString>,
except: Option<Vec<String>>,
limit: Option<i32>,
},
}Expand description
Composite query performing operations on other result sets.
Variants§
UnionAll
Return the union of the specified result sets. May return duplicate results.
Fields
§
union_all: Vec<QuerySetOrString>List of query sets or references to other queries.
Union
Return the union of the specified result sets, will not return duplicate results.
Note: Using UnionAll is more efficient in general.
Fields
§
union: Vec<QuerySetOrString>List of query sets or references to other queries.
Intersection
Find the common elements in the returned result set.
Trait Implementations§
Source§impl Clone for QuerySetOperationTableExpression
impl Clone for QuerySetOperationTableExpression
Source§fn clone(&self) -> QuerySetOperationTableExpression
fn clone(&self) -> QuerySetOperationTableExpression
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<'de> Deserialize<'de> for QuerySetOperationTableExpression
impl<'de> Deserialize<'de> for QuerySetOperationTableExpression
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 QuerySetOperationTableExpression
impl RefUnwindSafe for QuerySetOperationTableExpression
impl Send for QuerySetOperationTableExpression
impl Sync for QuerySetOperationTableExpression
impl Unpin for QuerySetOperationTableExpression
impl UnwindSafe for QuerySetOperationTableExpression
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