Module generators

Module generators 

Source
Expand description

generators module includes all the classes to deal with V3/V4 spec generators

Modules§

datetime_expressions
Date/Time expressions to use with Date/Time generators.
form_urlencoded
xml

Structs§

Generators
Data structure for representing a collection of generators
JsonHandler
Implementation of a content type handler for JSON
NoopVariantMatcher

Enums§

Generator
Trait to represent a generator
GeneratorCategory
Category that the generator is applied to
GeneratorTestMode
If the generators are being applied in the context of a consumer or provider
UuidFormat
Format of UUIDs to generate

Traits§

ContentTypeHandler
Trait to define a handler for applying generators to data of a particular content type.
GenerateValue
Trait for something that can generate a value based on a source value.
VariantMatcher
Trait to represent matching logic to find a matching variant for the Array Contains generator

Functions§

apply_generators
If the mode applies, invoke the callback for each of the generators
generate_ascii_string
generate_decimal
generate_hexadecimal
generate_value_from_context
generators_from_json
Parses the generators from the Value structure
generators_to_json
Generates a Value structure for the provided generators