pub enum ConditionExpression {
Field(String),
FunctionCall {
name: String,
args: Vec<String>,
},
}Expand description
Expression in a condition - can be a field reference or function call
Variants§
Field(String)
Direct field reference (e.g., User.age)
FunctionCall
Function call with arguments (e.g., aiSentiment(User.text))
Trait Implementations§
Source§impl Clone for ConditionExpression
impl Clone for ConditionExpression
Source§fn clone(&self) -> ConditionExpression
fn clone(&self) -> ConditionExpression
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 moreAuto Trait Implementations§
impl Freeze for ConditionExpression
impl RefUnwindSafe for ConditionExpression
impl Send for ConditionExpression
impl Sync for ConditionExpression
impl Unpin for ConditionExpression
impl UnwindSafe for ConditionExpression
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