Expand description

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

Match and generate strings that match a date-time format string.

Match an array with the specified “shape”.

Match values based on their data types.

Builder for Pact objects.

Match and generate strings that match a regular expression.

Enums

A pattern which can be used to either:

A pattern which matches or generates a string.

Traits

Various methods shared between RequestBuilder and ResponseBuilder.