[−][src]Macro pact_matching::matchingrules
Macro to ease constructing matching rules Example usage:
ⓘThis example is not tested
matchingrules! { "query" => { "user_id" => [ MatchingRule::Regex(s!("^[0-9]+$")) ] } }
Macro to ease constructing matching rules Example usage:
matchingrules! { "query" => { "user_id" => [ MatchingRule::Regex(s!("^[0-9]+$")) ] } }