pub struct ConditionExpr {
pub expression: String,
pub parsed: Option<ParsedCondition>,
}Expand description
Simple condition expression (Level 1 - basic comparisons only)
Fields§
§expression: StringExpression as string (will be parsed and validated)
parsed: Option<ParsedCondition>Parsed representation (for validation and execution)
Trait Implementations§
Source§impl Clone for ConditionExpr
impl Clone for ConditionExpr
Source§fn clone(&self) -> ConditionExpr
fn clone(&self) -> ConditionExpr
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 moreSource§impl Debug for ConditionExpr
impl Debug for ConditionExpr
Source§impl<'de> Deserialize<'de> for ConditionExpr
impl<'de> Deserialize<'de> for ConditionExpr
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 ConditionExpr
impl RefUnwindSafe for ConditionExpr
impl Send for ConditionExpr
impl Sync for ConditionExpr
impl Unpin for ConditionExpr
impl UnwindSafe for ConditionExpr
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