Struct pact_plugin_driver::content::InteractionContents [−][src]
pub struct InteractionContents {
pub part_name: String,
pub body: OptionalBody,
pub rules: Option<MatchingRuleCategory>,
pub generators: Option<Generators>,
pub metadata: Option<HashMap<String, Value>>,
pub plugin_config: PluginConfiguration,
pub interaction_markup: String,
pub interaction_markup_type: String,
}Expand description
Interaction contents setup by the plugin
Fields
part_name: StringDescription of what part this interaction belongs to (in the case of there being more than one, for instance, request/response messages)
body: OptionalBodyBody/Contents of the interaction
rules: Option<MatchingRuleCategory>Matching rules to apply
generators: Option<Generators>Generators to apply
metadata: Option<HashMap<String, Value>>Message metadata
plugin_config: PluginConfigurationPlugin configuration data to apply to the interaction
interaction_markup: StringMarkup for the interaction to display in any UI
interaction_markup_type: StringThe type of the markup (CommonMark or HTML)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InteractionContents
impl Send for InteractionContents
impl Sync for InteractionContents
impl Unpin for InteractionContents
impl UnwindSafe for InteractionContents
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
