pub trait VariableProvider {
// Required method
fn get_variable(&self, name: &str) -> Option<&JsonValue>;
}Expand description
Trait for providing variable values during evaluation.
This abstraction allows the evaluation functions to work with different variable storage mechanisms (HashMap, async state, etc.).
Required Methods§
Sourcefn get_variable(&self, name: &str) -> Option<&JsonValue>
fn get_variable(&self, name: &str) -> Option<&JsonValue>
Get a variable value by name.