Module pact_models::generators
source · Expand description
generators
module includes all the classes to deal with V3/V4 spec generators
Modules
- Date/Time expressions to use with Date/Time generators.
Structs
- Data structure for representing a collection of generators
- Implementation of a content type handler for JSON
Enums
- Trait to represent a generator
- Category that the generator is applied to
- If the generators are being applied in the context of a consumer or provider
- Format of UUIDs to generate
Traits
- Trait to define a handler for applying generators to data of a particular content type.
- Trait for something that can generate a value based on a source value.
- Trait to represent matching logic to find a matching variant for the Array Contains generator
Functions
- If the mode applies, invoke the callback for each of the generators
- Parses the generators from the Value structure
- Generates a Value structure for the provided generators