pub fn generators_to_json(generators: &Generators, spec_version: &PactSpecification) -> Value {
  match spec_version {
    &PactSpecification::V3 => generators.to_json(),
    _ => Value::Null
  }
}
/// Generates a Value structure for the provided generators
Generates a Value structure for the provided generators
Generates a Value structure for the provided generators
pub fn generators_to_json(generators: &Generators, spec_version: &PactSpecification) -> Value {
  match spec_version {
    &PactSpecification::V3 => generators.to_json(),
    _ => Value::Null
  }
}
pub fn generators_to_json ( generators : & Generators , spec_version : & PactSpecification ) -> Value { match spec_version { & PactSpecification :: V3 => generators . to_json ( ) , _ => Value :: Null } }
Generates a Value structure for the provided generators
Generates a Value structure for the provided generators
generators
&Generators
spec_version
&PactSpecification
generators
&Generators
spec_version
&PactSpecification