pub enum InTarget {
List(Vec<Expr>),
Subquery(Box<Query>),
Unnest(Box<Expr>),
Table {
name: ObjectName,
args: Option<Vec<FunctionArg>>,
},
}Expand description
The right-hand side of an IN predicate, see Expr::In.
Variants§
List(Vec<Expr>)
(val1, val2, ...)
Subquery(Box<Query>)
(SELECT ...)
Unnest(Box<Expr>)
UNNEST(array_expression), see
BigQuery
Table
A table name or table-valued function, read as (SELECT * FROM name), see
SQLite
Fields
§
name: ObjectNameTable or table-valued function name, visited as a relation.
§
args: Option<Vec<FunctionArg>>Table-valued function arguments, None for a plain table name.
Trait Implementations§
impl Eq for InTarget
Source§impl Ord for InTarget
impl Ord for InTarget
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for InTarget
impl PartialOrd for InTarget
impl StructuralPartialEq for InTarget
Auto Trait Implementations§
impl Freeze for InTarget
impl RefUnwindSafe for InTarget
impl Send for InTarget
impl Sync for InTarget
impl Unpin for InTarget
impl UnsafeUnpin for InTarget
impl UnwindSafe for InTarget
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