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 Freeze for ProviderInfo
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§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