pub struct In {
pub this: Expression,
pub expressions: Vec<Expression>,
pub query: Option<Expression>,
pub not: bool,
pub global: bool,
pub unnest: Option<Box<Expression>>,
}Expand description
Represent an IN predicate (x IN (1, 2, 3) or x IN (SELECT ...)).
Either expressions (a value list) or query (a subquery) is populated,
but not both. When not is true, the predicate is NOT IN.
Fields§
§this: ExpressionThe expression being tested.
expressions: Vec<Expression>The value list (mutually exclusive with query).
query: Option<Expression>A subquery (mutually exclusive with expressions).
not: boolWhether this is NOT IN.
global: bool§unnest: Option<Box<Expression>>BigQuery: IN UNNEST(expr)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for In
impl<'de> Deserialize<'de> for In
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
impl StructuralPartialEq for In
Auto Trait Implementations§
impl Freeze for In
impl RefUnwindSafe for In
impl Send for In
impl Sync for In
impl Unpin for In
impl UnwindSafe for In
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