Implement this in order to determine whether a given value matches the current rule.
Implement this in order to determine whether a given value matches the current rule.
A convenience method to be used to see if a rule matches a context.
A convenience method to be used to see if a rule matches a context.
The context in which the rule attempts to match or not match.
Boolean: true if the rule matches the context; false if not.
Accepts all types of contexts.
Accepts all types of contexts.
Attempts to match the context, first looking to strictly match InnerType.
Attempts to match the context, first looking to strictly match InnerType. It then attempts to match 'similar' types as defined by 'toRuleType'.
The context on which we are attempting to match the rule; can be any type of context.
None for no match; Some(context) if the rule matches the context.
The value on which to test equality.
A typed implementation of the LessThanEqual trait, specific to String.