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: config.rs
    path of file: ./repos/stewardx/src
    
    the code of the file until where you have to start completion: use std::{collections::HashMap, path::PathBuf, str::FromStr};

#[derive(Debug, serde::Serialize, serde::Deserialize)]
pub struct Config {
    pub index_file_path: String,
    pub logs_folder_path: String,
    pub panel_feature: bool,
    pub server_crud_feature: bool
}

impl De
    
    fn default_config_path() -> PathBuf {
        let mut config_dir = match home::home_dir() {
            Some(p) => p,
            None => {
                panic!("Please specify a $HOME variable so that I can create configuration files for you.");
            }
        };
        config_dir.push(".config");
        config_dir.push("stewardx");
        config_dir.push("config.json");
        return config_dir;
    }