pub enum WhereExpr {
Comparison {
field: String,
op: ComparisonOp,
value: WqlValue,
},
And(Box<WhereExpr>, Box<WhereExpr>),
Or(Box<WhereExpr>, Box<WhereExpr>),
}Expand description
WHERE expression (AND/OR tree of comparisons).
Variants§
Comparison
Simple comparison: field op value.
And(Box<WhereExpr>, Box<WhereExpr>)
AND of two expressions.
Or(Box<WhereExpr>, Box<WhereExpr>)
OR of two expressions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WhereExpr
impl<'de> Deserialize<'de> for WhereExpr
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 WhereExpr
impl RefUnwindSafe for WhereExpr
impl Send for WhereExpr
impl Sync for WhereExpr
impl Unpin for WhereExpr
impl UnsafeUnpin for WhereExpr
impl UnwindSafe for WhereExpr
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