Get the region used for IdC login.
(&self)
| 326 | |
| 327 | /// Get the region used for IdC login. |
| 328 | pub fn get_idc_region(&self) -> Result<Option<String>, DatabaseError> { |
| 329 | // Annoyingly, this is encoded as a JSON string on older clients |
| 330 | self.get_json_entry::<String>(Table::State, IDC_REGION_KEY) |
| 331 | } |
| 332 | |
| 333 | /// Set the region used for IdC login. |
| 334 | pub fn set_idc_region(&mut self, region: String) -> Result<usize, DatabaseError> { |
no outgoing calls
no test coverage detected