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
- Json
Handler - Implementation of a content type handler for JSON
- Noop
Variant Matcher
Enums§
- Generator
- Trait to represent a generator
- Generator
Category - Category that the generator is applied to
- Generator
Test Mode - If the generators are being applied in the context of a consumer or provider
- Uuid
Format - Format of UUIDs to generate
Traits§
- Content
Type Handler - Trait to define a handler for applying generators to data of a particular content type.
- Generate
Value - Trait for something that can generate a value based on a source value.
- Variant
Matcher - 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