Trait pact_models::generators::GenerateValue
source · pub trait GenerateValue<T> {
// Required method
fn generate_value(
&self,
value: &T,
context: &HashMap<&str, Value>,
matcher: &Box<dyn VariantMatcher + Send + Sync>
) -> Result<T>;
}
Expand description
Trait for something that can generate a value based on a source value.