[][src]Struct pact_verifier::callback_executors::HttpRequestProviderStateExecutor

pub struct HttpRequestProviderStateExecutor {
    pub state_change_url: Option<String>,
    pub state_change_teardown: bool,
    pub state_change_body: bool,
}

Default provider state callback executor, which executes an HTTP request

Fields

state_change_url: Option<String>

URL to post state change requests to

state_change_teardown: bool

If teardown state change requests should be made (default is false)

state_change_body: bool

If state change request data should be sent in the body (true) or as query parameters (false)

Trait Implementations

impl Default for HttpRequestProviderStateExecutor[src]

fn default() -> HttpRequestProviderStateExecutor[src]

Create a default executor

impl ProviderStateExecutor for HttpRequestProviderStateExecutor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.