Struct pact_verifier::ProviderInfo [−][src]
pub struct ProviderInfo {
pub name: String,
pub protocol: String,
pub host: String,
pub port: Option<u16>,
pub path: String,
}
Expand description
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: Option<u16>
Port the provider is running on, defaults to 8080
path: String
Base path for the provider, defaults to /
Trait Implementations
Create a default provider info
Auto Trait Implementations
impl RefUnwindSafe for ProviderInfo
impl Send for ProviderInfo
impl Sync for ProviderInfo
impl Unpin for ProviderInfo
impl UnwindSafe for ProviderInfo
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