You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: settings.rs
    path of file: ./repos/prisma-engines/query-engine/core/src/telemetry/capturing
    
    the code of the file until where you have to start completion: use std::collections::HashSet;

static VALID_VALUES: &[&str] = &["error", "warn", "info", "debug", "trace", "query", "tracing"];

#[derive(Debug, Clone, Default)]
pub struct Settings {
    /// only capture log events from the specified log levels, the special level "query", which does not
   
    
    fn from(s: &str) -> Self {
        let chunks = s.split(',');
        let mut set = HashSet::from_iter(
            chunks
                .into_iter()
                .map(str::trim)
                .map(str::to_lowercase)
                .filter(|s| VALID_VALUES.contains(&s.as_str())),
        );

        let include_traces = set.remove("tracing");
        let included_log_levels = set;

        Self::new(included_log_levels, include_traces)
    }