pact_consumer 1.4.3

Pact-Rust module that provides support for writing consumer pact tests
Documentation
1
2
3
4
5
6
7
8
9
10
//! Trait for plugin authors to provider a typed interface to configure interactions

use serde_json::Value;

/// Trait for plugin authors to provider a typed interface to configure interactions
pub trait PluginInteractionBuilder {
  /// Construct the map of configuration that is to be passed through to the plugin as a JSON
  /// value.
  fn build(&self) -> Value;
}