Trait jsonpath_rust::path::config::cache::RegexCacheInst

source ·
pub trait RegexCacheInst {
    // Required method
    fn validate(
        &self,
        regex: &str,
        values: Vec<&Value>
    ) -> Result<bool, RegexCacheError>;
}
Expand description

A trait that defines the behavior for regex cache

Required Methods§

source

fn validate( &self, regex: &str, values: Vec<&Value> ) -> Result<bool, RegexCacheError>

Implementors§