Struct pact_plugin_driver::mock_server::MockServerDetails
source · pub struct MockServerDetails {
pub key: String,
pub base_url: String,
pub port: u32,
pub plugin: PactPlugin,
}Expand description
Details of the running mock server
Fields§
§key: StringUnique key for the mock server
base_url: StringBase URL to the running mock server
port: u32Port the mock server is running on
plugin: PactPluginPlugin the mock server belongs to
Trait Implementations§
source§impl Clone for MockServerDetails
impl Clone for MockServerDetails
source§fn clone(&self) -> MockServerDetails
fn clone(&self) -> MockServerDetails
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 moreAuto Trait Implementations§
impl RefUnwindSafe for MockServerDetails
impl Send for MockServerDetails
impl Sync for MockServerDetails
impl Unpin for MockServerDetails
impl UnwindSafe for MockServerDetails
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