(&self, key: &str, default: &str)
| 410 | } |
| 411 | |
| 412 | fn get_string(&self, key: &str, default: &str) -> String { |
| 413 | match self.values.get(key) { |
| 414 | Some(Value::String(s)) => s.clone(), |
| 415 | _ => default.to_string(), |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | fn set_string(&mut self, key: &str, value: &str) { |
| 420 | self.values |