[][src]Enum pact_matching::models::generators::GeneratorCategory

pub enum GeneratorCategory {
    METHOD,
    PATH,
    HEADER,
    QUERY,
    BODY,
    STATUS,
}

Category that the generator is applied to

Variants

METHOD

Request Method

PATH

Request Path

HEADER

Request/Response Header

QUERY

Request Query Parameter

BODY

Body

STATUS

Response Status

Trait Implementations

impl Clone for GeneratorCategory[src]

impl Debug for GeneratorCategory[src]

impl<'de> Deserialize<'de> for GeneratorCategory[src]

impl Eq for GeneratorCategory[src]

impl FromStr for GeneratorCategory[src]

type Err = String

The associated error which can be returned from parsing.

impl Hash for GeneratorCategory[src]

impl<'a> Into<&'a str> for GeneratorCategory[src]

impl Into<String> for GeneratorCategory[src]

impl PartialEq<GeneratorCategory> for GeneratorCategory[src]

impl Serialize for GeneratorCategory[src]

impl StructuralEq for GeneratorCategory[src]

impl StructuralPartialEq for GeneratorCategory[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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<'a, T> TryFrom<&'a str> for T where
    T: FromStr

type Err = <T as FromStr>::Err

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

type Error = !

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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