Crate pact_models[][src]

Expand description

The pact_models crate provides all the structs and traits required to model a Pact.

Modules

bodies

Module for handling interaction content (bodies)

content_types

Module for handling content types

provider_states

provider_states module contains all the logic for dealing with provider states. See https://docs.pact.io/getting_started/provider_states for more info on provider states.

v4

V4 specification models

Structs

Consumer

Struct that defines the consumer of the pact.

Provider

Struct that defines a provider of a pact.

Enums

DifferenceType

Enumeration of the types of differences between requests and responses

HttpStatus

Enum that defines the different types of HTTP statuses

PactSpecification

Enum defining the pact specification versions supported by the library