1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::minecraft::models::file::File;
use serde::{Deserialize, Serialize};

/// Contains information about downloading the main client/server file.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Downloads {
    /// Client file
    pub client: File,
    /// Client mappings
    pub client_mappings: Option<File>,
    /// Server file
    pub server: Option<File>,
    /// Server mappings
    pub server_mappings: Option<File>,
}