Enum pact_models::generators::GeneratorCategory
source · pub enum GeneratorCategory {
METHOD,
PATH,
HEADER,
QUERY,
BODY,
STATUS,
METADATA,
}
Expand description
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
METADATA
Message Metadata
Trait Implementations§
source§impl Clone for GeneratorCategory
impl Clone for GeneratorCategory
source§fn clone(&self) -> GeneratorCategory
fn clone(&self) -> GeneratorCategory
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 GeneratorCategory
impl Debug for GeneratorCategory
source§impl FromStr for GeneratorCategory
impl FromStr for GeneratorCategory
source§impl Hash for GeneratorCategory
impl Hash for GeneratorCategory
source§impl<'a> Into<&'a str> for GeneratorCategory
impl<'a> Into<&'a str> for GeneratorCategory
source§impl Into<Category> for GeneratorCategory
impl Into<Category> for GeneratorCategory
source§impl Into<String> for GeneratorCategory
impl Into<String> for GeneratorCategory
source§impl PartialEq<GeneratorCategory> for GeneratorCategory
impl PartialEq<GeneratorCategory> for GeneratorCategory
source§fn eq(&self, other: &GeneratorCategory) -> bool
fn eq(&self, other: &GeneratorCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GeneratorCategory
impl Eq for GeneratorCategory
impl StructuralEq for GeneratorCategory
impl StructuralPartialEq for GeneratorCategory
Auto Trait Implementations§
impl RefUnwindSafe for GeneratorCategory
impl Send for GeneratorCategory
impl Sync for GeneratorCategory
impl Unpin for GeneratorCategory
impl UnwindSafe for GeneratorCategory
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.