Struct pact_verifier::ProviderInfo [] [src]

pub struct ProviderInfo {
    pub name: String,
    pub protocol: String,
    pub host: String,
    pub port: u16,
    pub path: String,
    pub state_change_url: Option<String>,
    pub state_change_teardown: bool,
    pub state_change_body: bool,
}

Information about the Provider to verify

Fields

Provider Name

Provider protocol, defaults to HTTP

Hostname of the provider

Port the provider is running on, defaults to 8080

Base path for the provider, defaults to /

URL to post state change requests to

If teardown state change requests should be made (default is false)

If state change request data should be sent in the body (true) or as query parameters (false)

Methods

impl ProviderInfo
[src]

Create a default provider info

Trait Implementations

impl Debug for ProviderInfo
[src]

Formats the value using the given formatter.

impl Clone for ProviderInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more