pest::error

Type Alias RuleToMessageFn

Source
pub type RuleToMessageFn<R> = Box<dyn Fn(&R) -> Option<String>>;
Expand description

Function mapping rule to its helper message defined by user.

Aliased Typeยง

struct RuleToMessageFn<R>(/* private fields */);