Struct pact_mock_server::mock_server::MockServerConfig [−][src]
pub struct MockServerConfig {
pub cors_preflight: bool,
}
Expand description
Mock server configuration
Fields
cors_preflight: bool
If CORS Pre-Flight requests should be responded to
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MockServerConfig
impl Send for MockServerConfig
impl Sync for MockServerConfig
impl Unpin for MockServerConfig
impl UnwindSafe for MockServerConfig
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