Struct pact_verifier::ProviderInfo
source · pub struct ProviderInfo {
pub name: String,
pub protocol: String,
pub host: String,
pub port: Option<u16>,
pub path: String,
pub transports: Vec<ProviderTransport>,
}
Expand description
Information about the Provider to verify
Fields§
§name: String
Provider Name
protocol: String
👎Deprecated: Use transports instead
Provider protocol, defaults to HTTP
host: String
Hostname of the provider
port: Option<u16>
👎Deprecated: Use transports instead
Port the provider is running on, defaults to 8080
path: String
👎Deprecated: Use transports instead
Base path for the provider, defaults to /
transports: Vec<ProviderTransport>
Transports configured for the provider
Trait Implementations§
source§impl Clone for ProviderInfo
impl Clone for ProviderInfo
source§fn clone(&self) -> ProviderInfo
fn clone(&self) -> ProviderInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProviderInfo
impl Debug for ProviderInfo
source§impl Default for ProviderInfo
impl Default for ProviderInfo
source§fn default() -> ProviderInfo
fn default() -> ProviderInfo
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§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request