Module pact_matching::models::generators[][src]

generators module includes all the classes to deal with V3 format generators

Structs

Generators

Data structure for representing a collection of generators

JsonHandler

Implementation of a content type handler for JSON

XmlHandler

Implementation of a content type handler for XML (currently unimplemented).

Enums

Generator

Trait to represent a generator

GeneratorCategory

Category that the generator is applied to

Traits

ContentTypeHandler

Trait to define a handler for applying generators to data of a particular content type.

GenerateValue

Trait that represents generation of a value based on a source value.

Functions

generators_from_json

Parses the generators from the Value structure

generators_to_json

Generates a Value structure for the provided generators