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: status.rs
    path of file: ./repos/ServerStatus-Rust/client/src
    
    the code of the file until where you have to start completion: #![allow(unused)]
use lazy_static::lazy_static;
use once_cell::sync::OnceCell;
use regex::Regex;
use std::collections::HashMap;
use std::collections::LinkedList;
use std::fs;
    
pub fn get_hdd(stat: &mut StatRequest) {
    let (mut hdd_total, mut hdd_used) = (0, 0);
    let a = &Command::new("/bin/sh")
        .args(["-c", DF_CMD])
        .output()
        .expect("failed to execute df")
        .stdout;

    let _ = str::from_utf8(a).map(|content| {
        let vs = content.trim().split('\n').collect::<Vec<&str>>().to_vec();

        for (idx, s) in vs.iter().enumerate() {
            // header
            if idx == 0 {
                continue;
            }

            let vec = (*s).split_whitespace().collect::<Vec<&str>>();
            if idx == vs.len() - 1 {
                // total
                stat.hdd_total = vec[2].parse::<u64>().unwrap();
                stat.hdd_used = vec[3].parse::<u64>().unwrap();
            } else {
                let di = DiskInfo {
                    name: vec[0].to_string(),
                    mount_point: vec[6].to_string(),
                    file_system: vec[1].to_string(),
                    // TODO: fix this
                    total: vec[2].parse::<u64>().unwrap() * 1024 * 1024,
                    used: vec[3].parse::<u64>().unwrap() * 1024 * 1024,
                    free: vec[4].parse::<u64>().unwrap() * 1024 * 1024,
                };
                stat.disks.push(di);
            }
        }
    });
}