(id: &str)
| 1710 | |
| 1711 | #[must_use] |
| 1712 | pub fn get_default_profile(id: &str) -> Option<&'static ProviderTypeProfile> { |
| 1713 | default_profiles() |
| 1714 | .iter() |
| 1715 | .find(|profile| profile.id.eq_ignore_ascii_case(id)) |
| 1716 | } |
| 1717 | |
| 1718 | #[cfg(test)] |
| 1719 | mod tests { |