pub enum Operand {
Field(String),
Number(String),
StringLit(String),
Bool(bool),
EnumVariant(String),
}Expand description
An operand (leaf value) in a boolean expression.
Variants§
Field(String)
A field reference (e.g. age, status).
Number(String)
A numeric literal (e.g. 18, 3.14).
StringLit(String)
A string literal (e.g. "hello").
Bool(bool)
A boolean literal (true / false).
EnumVariant(String)
A bare identifier inside an IN [...] list — treated as an enum variant.
Trait Implementations§
impl StructuralPartialEq for Operand
Auto Trait Implementations§
impl Freeze for Operand
impl RefUnwindSafe for Operand
impl Send for Operand
impl Sync for Operand
impl Unpin for Operand
impl UnsafeUnpin for Operand
impl UnwindSafe for Operand
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