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
name: String
Provider Name
protocol: String
Provider protocol, defaults to HTTP
host: String
Hostname of the provider
port: u16
Port the provider is running on, defaults to 8080
path: String
Base path for the provider, defaults to /
state_change_url: Option<String>
URL to post state change requests to
state_change_teardown: bool
If teardown state change requests should be made (default is false)
state_change_body: bool
If state change request data should be sent in the body (true) or as query parameters (false)
Methods
impl ProviderInfo
[src]
fn default() -> ProviderInfo
Create a default provider info
Trait Implementations
impl Debug for ProviderInfo
[src]
impl Clone for ProviderInfo
[src]
fn clone(&self) -> ProviderInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more