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: app.rs
    path of file: ./repos/templa-rs/src
    
    the code of the file until where you have to start completion: use crate::models::structs::Submodule;
use crate::scrape::EntriesCache;
use crate::search::perform_search;
use std::vec::Vec;
use tui::style::Color;

pub struct App {
    pub submodules: Vec<Submodule>,
    pub filtered_submodules: Vec<Submodule>,
    pub last_query: Option<String>,

    pub current_query: String,

    pub skin_color: Color,

    pub entries_cache: EntriesCache,
}

impl Default for App {
    fn default() -> Self {
        App {
            filtered_submodules: vec![],
            submodules: vec![],

            current_q
    
    pub fn search(&mut self) {
        // TODO: Process query to extract tags and name searches
        if self.last_query.is_none() || self.current_query != self.last_query.as_deref().unwrap() {
            let mut final_query = vec![];
            let mut tags = vec![];

            for token in self.current_query.split(' ') {
                if let Some(tag_name) = token.strip_prefix("tag:") {
                    tags.push(tag_name);
                } else {
                    final_query.push(token);
                }
            }

            self.filtered_submodules =
                perform_search(&self.submodules, &final_query.join(" "), &tags)
                    .expect("can search through submodules");

            self.last_query = Some(self.current_query.clone());
        }
    }