Modifies the current `TableOptions` instance with settings from a hash map. # Parameters `settings`: A hash map where each key-value pair represents a configuration setting. # Returns A result indicating success or failure in applying the settings.
(
&mut self,
settings: &HashMap<String, String>,
)
| 2396 | /// |
| 2397 | /// A result indicating success or failure in applying the settings. |
| 2398 | pub fn alter_with_string_hash_map( |
| 2399 | &mut self, |
| 2400 | settings: &HashMap<String, String>, |
| 2401 | ) -> Result<()> { |
| 2402 | for (k, v) in settings { |
| 2403 | self.set(k, v)?; |
| 2404 | } |
| 2405 | Ok(()) |
| 2406 | } |
| 2407 | |
| 2408 | /// Retrieves all configuration entries from this `TableOptions`. |
| 2409 | /// |