[−][src]Enum pact_verifier::FilterInfo
Filter information used to filter the interactions that are verified
Variants
No filter, all interactions will be verified
Description(String)
Filter on the interaction description
State(String)
Filter on the interaction provider state
Filter on both the interaction description and provider state
Implementations
impl FilterInfo
[src]
pub fn has_description(&self) -> bool
[src]
If this filter is filtering on description
pub fn has_state(&self) -> bool
[src]
If this filter is filtering on provider state
pub fn state(&self) -> String
[src]
Value of the state to filter
pub fn description(&self) -> String
[src]
Value of the description to filter
pub fn match_state(&self, interaction: &dyn Interaction) -> bool
[src]
If the filter matches the interaction provider state using a regular expression. If the filter value is the empty string, then it will match interactions with no provider state.
Panics
If the state filter value can't be parsed as a regular expression
pub fn match_description(&self, interaction: &dyn Interaction) -> bool
[src]
If the filter matches the interaction description using a regular expression
Panics
If the description filter value can't be parsed as a regular expression
Trait Implementations
impl Clone for FilterInfo
[src]
fn clone(&self) -> FilterInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FilterInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for FilterInfo
impl Send for FilterInfo
impl Sync for FilterInfo
impl Unpin for FilterInfo
impl UnwindSafe for FilterInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,