jsonpath_rust::path::config::cache

Trait 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§