fn filter_by_naming_prefix(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let Some(ref np) = config.naming_prefix {
            !np.regex.as_ref().unwrap().is_match(&resource.id)
        } else {
            false
        }
    }
/// Filters a resource based on its naming prefix (specifically for S3 buckets)
Filters a resource based on its naming prefix (specifically for S3 buckets)
Filters a resource based on its naming prefix ( specifically for S3 buckets )
fn filter_by_naming_prefix(&self, resource: &Resource, config: &ResourceConfig) -> bool {
        if let Some(ref np) = config.naming_prefix {
            !np.regex.as_ref().unwrap().is_match(&resource.id)
        } else {
            false
        }
    }
fn filter_by_naming_prefix ( & self , resource : & Resource , config : & ResourceConfig ) -> bool { if let Some ( ref np ) = config . naming_prefix { ! np . regex . as_ref ( ) . unwrap ( ) . is_match ( & resource . id ) } else { false } }
Filters a resource based on its naming prefix (specifically for S3 buckets)
Filters a resource based on its naming prefix ( specifically for S3 buckets )
&self
resource
&Resource
config
&ResourceConfig