pub trait TestContextExt {
// Required method
fn test_fields(&self) -> Option<&Fields<'_>>;
}Expand description
Extension trait for Context that provides access to the fields set on
the context when using the TestEvaluator.
Required Methods§
Sourcefn test_fields(&self) -> Option<&Fields<'_>>
fn test_fields(&self) -> Option<&Fields<'_>>
Get the fields set on the context.
This method will only work with contexts that have been created when
using TestEvaluator.