Searched refs:allowed_services (Results 1 – 3 of 3) sorted by relevance
64 allowed_services: HashSet<Uuid>, field76 allowed_services: HashSet::new(), //empty means allowed all services in new()119 let allowed_services: Vec<Uuid> = json in load_config_from_json() localVariable125 self.set_allowed_services(allowed_services); in load_config_from_json()199 self.allowed_services.is_empty() || self.allowed_services.contains(&service) in is_service_allowed()208 self.allowed_services.clear(); in set_allowed_services()211 self.allowed_services.insert(*service); in set_allowed_services()215 let allowed_services = self.get_allowed_services(); in set_allowed_services() localVariable216 adapter.lock().unwrap().toggle_enabled_profiles(&allowed_services); in set_allowed_services()221 let allowed_services = self.get_allowed_services(); in set_allowed_services() localVariable[all …]
805 pub fn toggle_enabled_profiles(&mut self, allowed_services: &Vec<Uuid>) { in toggle_enabled_profiles()809 let allowed = allowed_services.len() == 0 in toggle_enabled_profiles()810 || allowed_services.contains(&UuidHelper::get_profile_uuid(&profile).unwrap()); in toggle_enabled_profiles()
24 repeated AllowedService allowed_services = 1; field