ed_journals/modules/logs/content/log_event_content/
mining_refined.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Fired when a commodity has been refined.

use serde::{Deserialize, Serialize};

use crate::modules::trading::Commodity;

/// Fired when a commodity has been refined.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
#[serde(rename_all = "PascalCase")]
pub struct MiningRefinedEvent {
    /// The kind of commodity that was refined.
    #[serde(rename = "Type")]
    pub kind: Commodity,

    /// The localized name of the refined commodity.
    #[serde(rename = "Type_Localised")]
    pub type_localized: Option<String>,
}