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: ui.rs
    path of file: ./repos/tabby/ee/tabby-webserver/src
    
    the code of the file until where you have to start completion: use axum::{
    body::{boxed, Full},
    http::{header, StatusCode, Uri},
    response::{IntoResponse, Response},
};

#[derive(rust_embed::RustEmbed)]
#[folder = "./ui"]
struct WebAssets;

struct WebStaticFile<T>(pub T);

impl<T> IntoResponse for WebStaticFile<T>
where
    T: Into<String>,
{
    fn into_response(self) -> Response {
        let make_404_response = || {
            Response::builder()
                .status(StatusCode::NOT_FOUND)
                .body(boxed(Full::from(WebAssets::get("404.html").unwrap().data)))
                .unwrap_or_else(|_| panic!("Invalid response"))
        };

        let path = self.0.into();
        let Ok(decoded_path) = urlencoding::decode(&path) else {
            return make_404_response();
        };

        match WebAssets::get(deco
    
    fn into_response(self) -> Response {
        let make_404_response = || {
            Response::builder()
                .status(StatusCode::NOT_FOUND)
                .body(boxed(Full::from(WebAssets::get("404.html").unwrap().data)))
                .unwrap_or_else(|_| panic!("Invalid response"))
        };

        let path = self.0.into();
        let Ok(decoded_path) = urlencoding::decode(&path) else {
            return make_404_response();
        };

        match WebAssets::get(decoded_path.as_ref()) {
            Some(content) => {
                let body = boxed(Full::from(content.data));
                let mime = mime_guess::from_path(path).first_or_octet_stream();
                Response::builder()
                    .header(header::CONTENT_TYPE, mime.as_ref())
                    .body(body)
                    .unwrap_or_else(|_| panic!("Invalid response"))
            }
            None => make_404_response(),
        }
    }