[][src]Module pact_consumer::prelude

A "prelude" or a default list of import types to include. This includes the basic DSL, but it avoids including rarely-used types.

use pact_consumer::prelude::*;

Re-exports

pub use crate::mock_server::StartMockServer;
pub use crate::mock_server::ValidatingMockServer;
pub use crate::patterns::Pattern;
pub use crate::util::strip_null_fields;

Structs

EachLike

Match an array with the specified "shape".

Like

Match values based on their data types.

PactBuilder

Builder for Pact objects.

Term

Match and generate strings that match a regular expression.

Enums

JsonPattern

A pattern which can be used to either:

StringPattern

A pattern which matches or generates a string.

Traits

HttpPartBuilder

Various methods shared between RequestBuilder and ResponseBuilder.