(&mut self, provider_id: &str, options: HashMap<String, serde_json::Value>)
| 350 | } |
| 351 | |
| 352 | pub fn merge_config(&mut self, provider_id: &str, options: HashMap<String, serde_json::Value>) { |
| 353 | if let Some(info) = self.provider_info.get_mut(provider_id) { |
| 354 | info.options.extend(options); |
| 355 | } |
| 356 | } |
| 357 | |
| 358 | pub fn get_provider(&self, provider_id: &str) -> Result<Arc<dyn Provider>, ProviderError> { |
| 359 | self.providers |
no test coverage detected