pub fn parse_matcher_def(v: &str) -> Result<MatchingRuleDefinition>
Expand description

Parse a matcher definition into a MatchingRuleDefinition containing the example value, matching rules and any generator. The following are examples of matching rule definitions:

  • matching(type,'Name') - type matcher
  • matching(number,100) - number matcher
  • matching(datetime, 'yyyy-MM-dd','2000-01-01') - datetime matcher with format string