Enum pact_verifier::FilterInfo [−][src]
pub enum FilterInfo {
None,
Description(String),
State(String),
DescriptionAndState(String, String),
}
Expand description
Filter information used to filter the interactions that are verified
Variants
None
No filter, all interactions will be verified
Description(String)
Tuple Fields
0: String
Filter on the interaction description
State(String)
Tuple Fields
0: String
Filter on the interaction provider state
DescriptionAndState(String, String)
Filter on both the interaction description and provider state
Implementations
If this filter is filtering on description
Value of the description to filter
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
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
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
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more