pub enum QuerySetOrString {
QuerySet(Box<QuerySetOperationTableExpression>),
String(String),
}Expand description
Element of a query set operation. Either another query set, or a reference to a different query.
Variants§
QuerySet(Box<QuerySetOperationTableExpression>)
Nested query set.
String(String)
Reference to a query.
Trait Implementations§
Source§impl Clone for QuerySetOrString
impl Clone for QuerySetOrString
Source§fn clone(&self) -> QuerySetOrString
fn clone(&self) -> QuerySetOrString
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 QuerySetOrString
impl Debug for QuerySetOrString
Source§impl<'de> Deserialize<'de> for QuerySetOrString
impl<'de> Deserialize<'de> for QuerySetOrString
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 QuerySetOrString
impl RefUnwindSafe for QuerySetOrString
impl Send for QuerySetOrString
impl Sync for QuerySetOrString
impl Unpin for QuerySetOrString
impl UnwindSafe for QuerySetOrString
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