from_string

Function from_string 

Source
pub fn from_string(patterns: Vec<String>, command: String) -> Result<Vec<Rules>>