(&self)
| 11 | |
| 12 | impl RubbleData { |
| 13 | pub fn postgres(&self) -> PooledConnection<ManagedPgConn> { |
| 14 | let pool = self.pool.clone(); |
| 15 | pool.get().unwrap() |
| 16 | } |
| 17 | |
| 18 | pub fn render(&self, template_name: &str, data: &Context) -> String { |
| 19 | self.tera.render(template_name, data).unwrap() |
no outgoing calls
no test coverage detected