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: mod.rs
    path of file: ./repos/Jotoba/lib/api/src/app/completions/opensearch
    
    the code of the file until where you have to start completion: mod parse;

use actix_web::web;
use serde::Deserialize;
use types::{api::app::completions::Request, jotoba::search::SearchTarget};

#[derive(Deserialize)]
pub struct EPQuery {
    q: Strin
    
fn gen_output(suggestions: Vec<String>, raw_query: String) -> String {
    let mut data =
        serde_json::to_string(&[suggestions, vec![], vec![]]).unwrap_or_else(|_| "".to_string());
    if data.len() > 2 {
        data = data[1..(data.len() - 1)].to_string();
    }
    format!("[\"{raw_query}\",{data}]")
}