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: gltf_import.rs
    path of file: ./repos/Ambient/crates/model_import/src/gltf
    
    the code of the file until where you have to start completion: use std::path::Path;

use gltf::{buffer, image::Format, Document, Gltf};
use image::{
    DynamicImage,
    ImageFormat::{Jpeg, Png},
};

pub struct GltfImport {
    pub name: String,
    pub document: gltf::Document,
    pub buffers: Vec<gltf::buffer::Data>,
    pub images: Vec<gltf::image::Dat
    
    fn parse(uri: &str) -> Scheme {
        if uri.contains(':') {
            if let Some(postfix) = uri.strip_prefix("data:") {
                let match0 = &postfix.split(";base64,").next();
                let match1 = &postfix.split(";base64,").nth(1);
                if match1.is_some() {
                    Scheme::Data(Some(match0.unwrap()), match1.unwrap())
                } else if match0.is_some() {
                    Scheme::Data(None, match0.unwrap())
                } else {
                    Scheme::Unsupported
                }
            } else if let Some(postfix) = uri.strip_prefix("file://") {
                Scheme::File(postfix)
            } else if let Some(postfix) = uri.strip_prefix("file:") {
                Scheme::File(postfix)
            } else {
                Scheme::Unsupported
            }
        } else {
            Scheme::Relative
        }
    }