pub fn str_req_resp_mod(
        &self,
        module_name: &str,
        versions: &motif::ModVstructs,
    ) -> Result<String, Error> {
        let mut ctx = Context::new();
        ctx.insert("name", module_name);
        ctx.insert("versions", versions);
        Ok(self.tera.render(REQ_RESP_MOD_TERA, &ctx)?)
    }
/// Generates versioned modules for the inner structs of versioned req_resp enums
Generates versioned modules for the inner structs of versioned req_resp enums
Generates versioned modules for the inner structs of versioned req_resp enums
pub fn str_req_resp_mod(
        &self,
        module_name: &str,
        versions: &motif::ModVstructs,
    ) -> Result<String, Error> {
        let mut ctx = Context::new();
        ctx.insert("name", module_name);
        ctx.insert("versions", versions);
        Ok(self.tera.render(REQ_RESP_MOD_TERA, &ctx)?)
    }
pub fn str_req_resp_mod ( & self , module_name : & str , versions : & motif :: ModVstructs , ) -> Result < String , Error > { let mut ctx = Context :: new ( ) ; ctx . insert ( " " , module_name ) ; ctx . insert ( " " , versions ) ; Ok ( self . tera . render ( REQ_RESP_MOD_TERA , & ctx ) ? ) }
Generates versioned modules for the inner structs of versioned req_resp enums
Generates versioned modules for the inner structs of versioned req_resp enums
&self
module_name
&str
versions
&motif::ModVstructs