pub struct AnalyzerManager {
pub analyzers: Vec<Analyzers>,
pub variables: HashMap<String, String>,
}
Fields§
§analyzers: Vec<Analyzers>
§variables: HashMap<String, String>
Implementations§
Source§impl AnalyzerManager
impl AnalyzerManager
pub fn new() -> Result<Self>
pub fn set<T: ToString>(&mut self, key: &str, value: T)
pub fn get_analyzer(&self, rule: &str) -> &Analyzers
pub fn split_rule_resolve(&self, rule: &str) -> Result<Vec<SingleRule>>
pub fn get_element(&self, rule: &str, data: &str) -> Result<Vec<String>>
pub fn get_string( &mut self, rule: &str, data: &str, extra: Option<Value>, ) -> Result<String>
Trait Implementations§
Source§impl Clone for AnalyzerManager
impl Clone for AnalyzerManager
Source§fn clone(&self) -> AnalyzerManager
fn clone(&self) -> AnalyzerManager
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AnalyzerManager
impl RefUnwindSafe for AnalyzerManager
impl Send for AnalyzerManager
impl Sync for AnalyzerManager
impl Unpin for AnalyzerManager
impl UnwindSafe for AnalyzerManager
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more