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

/// Information about the logging configuration
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct LoggingInfo {
    /// Logging in the client
    pub client: Client,
}

/// Client logging information
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Client {
    /// The argument passed for logging.
    pub argument: String,
    /// The logging configuration file.
    pub file: File,
    /// Type of the logging file
    #[serde(rename = "type")]
    pub _type: String,
}