pub fn add_generator_with_subcategory<S: Into<String>>(&mut self, category: &GeneratorCategory,
                                                         subcategory: S, generator: Generator) {
    let category_map = self.categories.entry(category.clone()).or_insert(HashMap::new());
    category_map.insert(subcategory.into(), generator.clone());
  }
/// Adds a generator to the category with a sub-category key (i.e. headers or query parameters)
Adds a generator to the category with a sub-category key
Adds a generator to the category with a sub - category key
pub fn add_generator_with_subcategory<S: Into<String>>(&mut self, category: &GeneratorCategory,
                                                         subcategory: S, generator: Generator) {
    let category_map = self.categories.entry(category.clone()).or_insert(HashMap::new());
    category_map.insert(subcategory.into(), generator.clone());
  }
pub fn add_generator_with_subcategory < S : Into < String > > ( & mut self , category : & GeneratorCategory , subcategory : S , generator : Generator ) { let category_map = self . categories . entry ( category . clone ( ) ) . or_insert ( HashMap :: new ( ) ) ; category_map . insert ( subcategory . into ( ) , generator . clone ( ) ) ; }
Adds a generator to the category with a sub-category key (i.e.
Adds a generator to the category with a sub - category key ( i . e .
&mut self
category
&GeneratorCategory
subcategory
S
generator
Generator
&mut self
category
&GeneratorCategory
subcategory
S
generator
Generator