pub enum ParamExpr {
Literal(Value),
Variable(String),
PreviousResult(String),
Computed(ComputeRule),
}Expand description
Parameter expression — how to compute a parameter value
Variants§
Literal(Value)
A fixed literal value
Variable(String)
A variable extracted from user input
PreviousResult(String)
Result from a previous step
Computed(ComputeRule)
A computed transformation
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParamExpr
impl<'de> Deserialize<'de> for ParamExpr
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 ParamExpr
impl RefUnwindSafe for ParamExpr
impl Send for ParamExpr
impl Sync for ParamExpr
impl Unpin for ParamExpr
impl UnsafeUnpin for ParamExpr
impl UnwindSafe for ParamExpr
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