Enum pact_models::DifferenceType
source · pub enum DifferenceType {
Method,
Path,
Headers,
QueryParameters,
Body,
MatchingRules,
Status,
}
Expand description
Enumeration of the types of differences between requests and responses
Variants§
Method
Methods differ
Path
Paths differ
Headers
Headers differ
QueryParameters
Query parameters differ
Body
Bodies differ
MatchingRules
Matching Rules differ
Status
Response status differ
Trait Implementations§
source§impl Clone for DifferenceType
impl Clone for DifferenceType
source§fn clone(&self) -> DifferenceType
fn clone(&self) -> DifferenceType
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 DifferenceType
impl Debug for DifferenceType
source§impl PartialEq for DifferenceType
impl PartialEq for DifferenceType
source§fn eq(&self, other: &DifferenceType) -> bool
fn eq(&self, other: &DifferenceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DifferenceType
impl StructuralPartialEq for DifferenceType
Auto Trait Implementations§
impl RefUnwindSafe for DifferenceType
impl Send for DifferenceType
impl Sync for DifferenceType
impl Unpin for DifferenceType
impl UnwindSafe for DifferenceType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.