fn filter_by_whitelist(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let Some(ref whitelist) = config.whitelist {
            if whitelist.contains(&resource.id) {
                return true;
            }
        }
        false
    }
/// Filters a resource based the provided whitelist
Filters a resource based the provided whitelist
Filters a resource based the provided whitelist
fn filter_by_whitelist(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let Some(ref whitelist) = config.whitelist {
            if whitelist.contains(&resource.id) {
                return true;
            }
        }
        false
    }
fn filter_by_whitelist ( & self , resource : & Resource , config : & ResourceConfig ) -> bool { if let Some ( ref whitelist ) = config . whitelist { if whitelist . contains ( & resource . id ) { return true ; } } false }
Filters a resource based the provided whitelist
Filters a resource based the provided whitelist
&self
resource
&Resource
config
&ResourceConfig