Get the given parameter and parse as `i32`.
(&self, key: Param)
| 384 | |
| 385 | /// Get the given parameter and parse as `i32`. |
| 386 | pub fn get_int(&self, key: Param) -> Option<i32> { |
| 387 | self.get(key).and_then(|s| s.parse().ok()) |
| 388 | } |
| 389 | |
| 390 | /// Get the given parameter and parse as `i64`. |
| 391 | pub fn get_i64(&self, key: Param) -> Option<i64> { |
no test coverage detected